Thursday, February 23, 2017

Allow remote SSHas root login

Become root
sudo su

Create password as root
passwd

Modify file /etc/ssh/sshd_config


# Authentication:
LoginGraceTime 120
# PermitRootLogin prohibit-password
PermitRootLogin yes
StrictModes yes


Restart SSH service  
sudo service sshd restart  

No comments:

Post a Comment

Followers

About Me