Docker Community Forums

Share and learn in the Docker community.

Can I disable remote SSH access to root?


(Lionelve) #1

I created an account in the node with sudo access. I rather cloud use that to connect instead of root.

Thankx.


(Lucas da Silva Simão) #2

Hello, you need change sshd_config

nano /etc/ssh/sshd_config

PermitRootLogin yes

change to

PermitRootLogin without-password