vimagick / dockerfiles

:whale: A curated list of delicious docker recipes 🇺🇦🇮🇱 (Let's Fight Against ************)

Home Page:https://hub.docker.com/u/vimagick/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

openssh - root login will not work with no password

hrvoj3e opened this issue · comments

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

Please try this image: https://hub.docker.com/r/linuxserver/openssh-server
It's much better.