openssh - root login will not work with no password
hrvoj3e opened this issue · comments
Hrvoje commented
User root not allowed because account is locked
Adding -e
to log to stderr shows error above
image: vimagick/openssh
command: ["-e"]
After setting password for root ssh login works OK.
# unlock account
docker exec my-ssh passwd -u root
# or change passwd
docker exec -it my-ssh ash
passwd
K̶e̶v̶i̶n̶ commented
Please try this image: https://hub.docker.com/r/linuxserver/openssh-server
It's much better.