Merge branch 'master' of github.com:SonnyBA/dotfiles
This commit is contained in:
commit
c86cb20422
3 changed files with 5 additions and 8 deletions
|
|
@ -18,7 +18,7 @@ add_ssh() {
|
|||
sed -i 's/^#Port .*/Port '"$PORT"'/' $CONTAINER_PATH/etc/ssh/sshd_config
|
||||
sed -i 's/^#PermitRootLogin .*/PermitRootLogin yes/' $CONTAINER_PATH/etc/ssh/sshd_config
|
||||
|
||||
touch $CONTAINER_PATH/root/.bash_profile
|
||||
touch $CONTAINER_PATH/root/.profile
|
||||
cat <<- 'EOF' > $CONTAINER_PATH/root/.bash_profile
|
||||
# Start ssh-agent and add keys in ~/.ssh directory
|
||||
# Should only be used without a desktop manager
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue