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