Note to self: to SSH into a server with a username + password combination only — e.g. skipping any Private Key loaded into
ssh-agent — use this command:
ssh -o PreferredAuthentications=password user@server
The connection will now ask for the user’s password, instead of trying to use public key authentication.
Thank me with a coffee.
I don\'t do this for profit but a small one-time donation would surely put a smile on my face. Thanks!
To stay in the loop you can follow @bramus or follow @bramusblog on Twitter.