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
This blog is created to keep things which I always need to remember in Python and Linux scripting. ... and few other things.
No comments:
Post a Comment