SSH use only my password, Ignore my ssh key, don't prompt me for a passphrase
Posted
by Stefan Lasiewski
on Server Fault
See other posts from Server Fault
or by Stefan Lasiewski
Published on 2010-04-07T23:07:15Z
Indexed on
2010/04/07
23:13 UTC
Read the original article
Hit count: 333
This is a question regarding the OpenSSH client on Linux, MacOSX and FreeBSD.
Normally, I log into systems using my SSH key.
Occasionally, I want my SSH client to ignore my SSH key and use a password instead. If I 'ssh hostname', my client prompts me for the Passphrase to my SSH key which is an annoyance. Instead, I want the client to simply ignore my SSH key, so that the server will ask me for my password instead.
I tried the following, but I am still prompted for the passphrase to my SSH key. After this, I am prompted for my password.
ssh -o PreferredAuthentications=password host.example.org
I want to do this on the client side, without any modification of the remote host.
© Server Fault or respective owner