I'm beginning to think Linux Really!
Happy to learn and share the information's.
Sunday, May 27, 2012
Block root shell access in SSH
vi
/etc/ssh/sshd_config
Locate the parameter --
PermitRootLogin yes
Change this to
PermitRootLogin no
Save and exit
Restart your
sshd
by typing
/etc/init.d/sshd restart
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment