PermitRootLogin yes, is required when:
- The functional account used is the root account or an root equivalent account (uid=0) using Password authentication or
- A root account or root equivalent account is being used for PSM using Password authentication
PermitRootLogin without-password can be set instead when:
- The functional account used is the root account or an root equivalent account (uid=0) using DSS / Public Key authentication or
- A root account or root equivalent account is being used for PSM using DSS / Public Key authentication
PermitRootLogin no can be set when:
- The functional account used is a non root account using a "Delegation Prefix" (such as sudo) and
- PSM accounts being used are non root accounts
Information from man sshd_config:
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center