Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

sed disable disallow root login

sed -i 's/PermitRootLogin yes/PermitRootLogin no/g' /etc/ssh/sshd_config
service ssh reload
 
PREVIOUS NEXT
Tagged: #sed #disable #disallow #root #login
ADD COMMENT
Topic
Name
6+6 =