Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FileZilla: "Too many authentication failures for ubuntu" when i do sftp to my EC2 instance [closed]

I have been using my AWS EC2 instance from last 6 months, but now when I use sftp, I keep getting this error.

Error:          Server sent disconnect message
Error:          type 2 (protocol error):
Error:          "Too many authentication failures for ubuntu"
Error:          Could not connect to server

How could I solve this issue?

like image 920
Kiran Suvarna Avatar asked Jun 25 '17 05:06

Kiran Suvarna


1 Answers

Filezilla tries all the keys in ~/.ssh directory and the ssh daemon on most OS will deny access after 5 attempts with the message Too many authentication failures

Delete the unneeded keys or move the unneeded keys from ~/.ssh and keep no more than 4 keys in ~/.ssh

like image 195
helloV Avatar answered Sep 27 '22 22:09

helloV