mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-12-13 01:36:43 +00:00
bugfix
This commit is contained in:
@@ -6,7 +6,7 @@ if [[ -z "${SSH_PASS}" ]]; then
|
||||
export SSH_PASS=password
|
||||
fi
|
||||
|
||||
echo "${SSH_PASS}" | passwd --stdin
|
||||
echo -e "${SSH_PASS}\n${SSH_PASS}" | passwd
|
||||
|
||||
# start sshd service
|
||||
/etc/init.d/ssh start
|
||||
|
||||
Reference in New Issue
Block a user