ubuntu:20.04 with (vim, openssh-server, inetutils-ping)
97
vim /etc/ssh/sshd_config
In this file go to the Authentication part and uncomment “permitRootLogin prohobit-password ” line and change to “permitRootLogin yes ”
To check SSHservice start
service --status-all
service ssh start
Now, go to the first container (sshserver-container)and set new password for root)
cat /etc/shadow | grep root
passwd root
Content type
Image
Digest
sha256:df305e107…
Size
116.8 MB
Last updated
over 2 years ago
docker pull abhishek0789/server:1.0