Linux Tutorials and Reviews
linuxdo.blogspot.com
Pages
Home
Linux Cheat Sheet
OpenSUSE LAMP Server
Showing posts with label
ssh root key only
.
Show all posts
Showing posts with label
ssh root key only
.
Show all posts
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
Older Posts
Home
Subscribe to:
Posts (Atom)