As root, edit the sshd_config file in /etc/ssh/sshd_config
:
nano /etc/ssh/sshd_config
PermitRootLogin yes
. This line may already exist and be commented out with a "#". In this case, remove the "#".
# Authentication:
#LoginGraceTime 2m
PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10
/etc/ssh/sshd_config
file.service sshd restart
CNERIS is a company formed by young entrepreneurs from different sectors of the world of information. Our team consists of programmers, system administrators, graphic designers.