This commit is contained in:
Newnius 2019-04-17 15:23:25 +08:00
parent 7b73a71137
commit eca0927867

View File

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