I have the following in my ~/.ssh/config.
HOST 10.2.192.* USER foo PreferredAuthentications publickey IdentityFile ~/.ssh/foo/id_rsa
The above configuration lets me connect to a machine while typing half as many words.
Before my ssh config, I had to type in all of this:
ssh firstname.lastname@example.org -i ~/.ss/foo/id_rsa
However there is one machine in the 10.2.192.x subnet that I want to connect to with password based authentication instead of keybased authentication.
Because ssh looks at my config file and finds a match for
PreferredAuthentications publickey I am unable to login with just my password.
I don't intend to ssh into this special snowflake vm often enough to warrant adding a new rule to my ssh config.
How can I make ssh ignore my config file just this once, and allow me to authenticate with a password?