This content originally appeared on Bram.us and was authored by Bramus!
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.
This content originally appeared on Bram.us and was authored by Bramus!
Bramus! | Sciencx (2021-07-20T09:29:28+00:00) SSH: Skip Private Keys loaded into ssh-agent. Retrieved from https://www.scien.cx/2021/07/20/ssh-skip-private-keys-loaded-into-ssh-agent/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.