You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.
Currently, simply check sshd_config to determine if a particular configuration line is present. The problem with that is that it isn't bullet proof, as the default values will vary over versions.
A better way of doing this is to instead rely on the -T option in sshd, which will spit out the current version.
Currently, simply check
sshd_config
to determine if a particular configuration line is present. The problem with that is that it isn't bullet proof, as the default values will vary over versions.A better way of doing this is to instead rely on the
-T
option insshd
, which will spit out the current version.For instance, here we can check for root login:
The text was updated successfully, but these errors were encountered: