The ssh authentication-type default password command configures password authentication as the default authentication mode for SSH users.
The undo ssh authentication-type default password command cancels the default password authentication mode for SSH users.
By default, the default authentication mode of SSH users is password authentication.
Usage Scenario
When there are multiple SSH users, the default password authentication mode simplifies the configuration.
When a TACACS server is used to authenticate a user who uses SSH to log in to a device, the network administrator must specify the SSH user on the TACACS server. In most cases, the SSH server cannot obtain the user information from the TACACS server. In this situation, you can set the authentication mode to password. SSH users can then directly log in to the device without additional SSH user configurations on the device.
Precautions
To configure password authentication for a specific SSH user, you can also run the ssh user user-name authentication-type password command.