Allow/Disallow Root SSH Login: Difference between revisions
From KlavoWiki
Jump to navigationJump to search
Created page with "<pre> vi /etc/ssh/sshd_config </pre> To allow root login from SSH add the line <pre> PermitRootLogin Yes </pre> To disallow root login remove the above line or change it to..." |
(No difference)
|
Revision as of 10:08, 22 January 2016
vi /etc/ssh/sshd_config
To allow root login from SSH add the line
PermitRootLogin Yes
To disallow root login remove the above line or change it to
PermitRootLogin No
Then restart the SSH daemon
systemctl restart ssh