Skip to content

KB 00008

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.

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 rs_add_ssh). Possible values are:

value definition
without-password require SSH public keys for root login, no forced commands
yes allow SSH root user login with password
no do not allow SSH root user login at all
forced-commands-only only allow forced commands to run via remote login

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