Sign inSign up

abhishek0789/server

By abhishek0789

•Updated over 2 years ago

ubuntu:20.04 with (vim, openssh-server, inetutils-ping)

Image
Networking
Security
Operating systems
0

97

abhishek0789/server repository overview

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

Tag summary

Content type

Image

Digest

sha256:df305e107…

Size

116.8 MB

Last updated

over 2 years ago

docker pull abhishek0789/server:1.0