Linux Tutorials and Reviews
linuxdo.blogspot.com
Pages
Home
Linux Cheat Sheet
OpenSUSE LAMP Server
Friday, May 25, 2012
Allow Root Login by SSH Keys only
IF you want to allow root login via SSH keys only while disabling password-based login, edit /etc/ssh/sshd.conf to reflect following change:
Original:
PermitRootLogin yes
Change:
PermitRootLogin without-password
0 comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment