Hakan Kaynar Blog
Tuesday, 18 February 2014
Prevent SSH root login
For preventing the root login from ssh, please open the ssh config file using the following command.
vi /etc/ssh/sshd_config
Find the line starting
PermitRootLogin
. Uncomment it (remove # character) and change value to following
PermitRootLogin no
Hope it helps
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment