offensive-security / kali-arm-build-scripts

Kali Linux ARM build scripts
874 stars 374 forks source link

Fix sshd_config not permitting root login #94

Closed nethunteros closed 7 years ago

nethunteros commented 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:

PermitRootLogin yes

In future may want to account for both possibilities