Setting up your computer to allow you to SSH in using SSH keys in place of passwords is magical however there are times I want to SSH in without using the SSH keys I have setup. You can tell SSH to ignore your SSH keys with the following flag -o PubkeyAuthentication=no
(see SSH config PubkeyAuthentication entry).
For example to SSH into the host example.com
with the user sal
ignoring any SSH keys, the command would look like
ssh -o PubkeyAuthentication=no sal@example.com
Leave a Reply