To force an ssh client to use only password authentication when public key authentication is configured, you can use the ssh
command with the -o PreferredAuthentications=password
option.
For example, to connect to a remote host using only password authentication, you can use the following command:
ssh -o PreferredAuthentications=password user@remote_hostSwww:ecruo.lautturi.com
This will force the ssh client to use only password authentication when connecting to the remote host.
Note: This option may not work if the server has been configured to disable password authentication. In that case, you may need to use another authentication method, such as public key authentication or key-based authentication.
You can find more information about the ssh
command and its options in the ssh
documentation or by running the ssh --help
command.