Configure Password Authentication
Password authentication is supported by default; no configuration is required on either the server or the client to use this authentication method. Use these procedures if you want to modify the default server or client configuration.
Note: Password authentication can be also done using the keyboard-interactive method, which is the preferred method.
To configure password authentication on the client
- Open the client configuration file (/etc/ssh2/ssh2_config) in a text editor.
- Edit the AllowedAuthentications keyword.
To configure password authentication on the server
- Open the server configuration file (/etc/ssh2/sshd2_config) in a text editor.
- Edit AllowedAuthentications or RequiredAuthentications.
- (Optional) Use PasswordGuesses to change the maximum number of attempts a user is allowed for password authentication. (The default is 3.) For example:
PasswordGuesses=5
|