Thursday, February 4, 2010

SSH: Disable Private/Public Key Logon To A Server

If you are trying to connect to an SSH server that is denying access to your account using public/private key authentication, you may need to log in using a password:
ssh -oPubkeyAuthentication=no username@host.com



Once in, you may want to remove your public key from .ssh/authorized_keys until you fix the problem.

No comments:

Post a Comment

AddThis

Bookmark and Share