cipi icon indicating copy to clipboard operation
cipi copied to clipboard

ssh with root is still available

Open brtsos opened this issue 3 years ago • 2 comments

Cipi didn't disable root ssh account, so I can still connect as root user.

brtsos avatar Jul 06 '22 13:07 brtsos

I have noticed it doesn't disable the root access in some providers and works fine in others, anyway you can disable it manually by the following:

sudo nano /etc/ssh/sshd_config and change the PermitRootLogin yes to PermitRootLogin no

Alnaggar94 avatar Jul 11 '22 18:07 Alnaggar94

You dont need to disable it, just use strong long password. There is brute force protection that is built in that will block ip after 10 failed attempts anyways.

codewizdevs avatar Aug 01 '22 07:08 codewizdevs