• Skip to primary navigation
  • Skip to content
Sal Ferrarello
  • About Sal Ferrarello
  • Speaking
  • Connect
    Twitter GitHub
You are here: Home / Dev Tips / SSH ignoring SSH Key

Warning! This is a draft, not a finalized post. See full draft disclosure.

SSH ignoring SSH Key

Last updated on September 24, 2018 by Sal Ferrarello

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

Share this post:

TwitterFacebookLinkedinEmailReddit

Filed Under: Dev Tips, Draft, Solution Tagged With: ssh

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Copyright © 2019 · Genesis Framework · WordPress · Log in