/notebook/ssh/too-many-authentication-failures

Too Many Authentication Failures?


Received disconnect from ########## port 22:2: Too many authentication failures

Add the IdentitiesOnly option to your config file

nano .ssh/config
Host <myhost>
   User <myusername>
   Hostname <myhostname>
   Port 22
   PreferredAuthentications publickey
   IdentityFile <path_to_key>
   IdentitiesOnly yes

Resources

Contents

About

I am an engineer and educator, having spent ten years as a professor. My goal is to help you build your knowledge of design and technology, get your hardware working, and propel your startup or small business. Get in touch!