Sometimes, it's necessary to do password-based authentication with an SSH client. For example, when you're trying to SSH into your Mac Mini that's downstairs but don't have your pubkey set there yet.

The command:

ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no user@hostname

Information

updated18th Dec 2022

created18th Dec 2022

stageseedling