Closed nethunteros closed 7 years ago
Comment is default beginning of line "PermitRootLogin prohibit-password". Current SED assumes that there is no comment block:
https://github.com/openssh/openssh-portable/blob/master/sshd_config
Otherwise its becomes:
In future may want to account for both possibilities
Comment is default beginning of line "PermitRootLogin prohibit-password". Current SED assumes that there is no comment block:
https://github.com/openssh/openssh-portable/blob/master/sshd_config
Otherwise its becomes:
PermitRootLogin yes
In future may want to account for both possibilities