When connecting to a device over SSH, Unimus supports the following SSH protocol-level authentication methods:
none, public-key, keyboard-interactive, password |
Please note that depending on the actual type of credentials, only some of these authentication methods will be used (see below).
For most users, adjusting the default behavior is NOT required, but you can adjust how Unimus auths on the SSH level if needed.
When connecting to a device using an SSH key-based credential, Unimus will try the following auth methods in the following order:
none, public-key |
When using a username/password based credential, Unimus will try the following auth methods in the following order:
none, keyboard-interactive, password |
If you would like to disable the "none" authentication method, you can set the following parameter:
-Dunimus.core.ssh.enable-auth-none=false |
If you would like to change the order of password auth methods, you can set:
-Dunimus.core.ssh.preferred-password-authentication-methods=password,keyboard-interactive |
Or you can remove one of the password auth methods to force usage of a specific one with:
-Dunimus.core.ssh.preferred-password-authentication-methods=keyboard-interactive |
You can set configuration options in the service config files to achieve this.
On Linux these are located in:
On Windows: