Merge branch 'master' of github.com:SonnyBA/dotfiles

This commit is contained in:
Sonny Bakker 2017-08-26 15:50:26 +02:00
commit c86cb20422
3 changed files with 5 additions and 8 deletions

View file

@ -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