Open main menu

Changes

625 bytes added ,  00:35, 9 August 2016
add section
<code>ssh -o IdentitiesOnly=true -i /home/me/.ssh/my_private_key me@example.com</code> will now work
 
== Using No Keys ==
Sometimes you can get an error about '''too many authentication failures''' when you want to enter your password, but before you even get to enter your password. This can happen when the source system silently offers a couple of keys (which are not authorized on the target host). If the target host has a very low tolerance for auth failures in sshd_config like <code>MaxAuthTries=2</code>, they you'll get disconnected before you ever enter a password. The way to counteract this is to tell ssh not to use Public Key Authentication at all:
<code>ssh -o PubkeyAuthentication=no me@example.com</code>
== Tunnel ==
4,558

edits