Skip to content

Commit

Permalink
Allow root ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinab25 authored Dec 6, 2019
1 parent 67465d5 commit 4da6e34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ mkdir -p /root/.ssh
> /root/.ssh/authorized_keys
chmod go-rwx /root/.ssh/authorized_keys
sed -i "s/#PasswordAuthentication yes/PasswordAuthentication no/g" /etc/ssh/sshd_config
sed -i 's/root:!/root:*/' /etc/shadow

# Provide SSH_AUTH_KEY_* via environment variable
for item in `env`; do
Expand Down

0 comments on commit 4da6e34

Please sign in to comment.