20.9. kb-00008: Set SSH Root Mode

20.9.1. Knowledge Base Article: kb-00008

20.9.2. Description

How to configure access in operating systems (including Sledgehammer) to log in with a username and password. By default, most operating system templates are secured to not allow user/pass login authentication, requiring SSH public/private keys.

20.9.3. Solution

The Param access-ssh-root-mode defines the login policy for the root user. The default vaule is without-password which means the remote SSH root user must access must be performed with SSH keys (see Knowledge Base Article: kb-00006). Possible values are:




require SSH public keys for root login, no forced commands


allow SSH root user login with password


do not allow SSH root user login at all


only allow forced commands to run via remote login

20.9.4. Additional Information

Additional resources and information related to this Knowledge Base article. See Also Versions

all Keywords

ssh, password authentication, access-ssh-root-mode, without-password, dr-provision, shell access Revision Information

KB Article     :  kb-00008
initial release:  Wed Jun 10 10:12:40 PDT 2020
updated release:  Wed Jun 10 10:12:40 PDT 2020