最近になり、MACのsshで下記のようなエラーが出力され、ログインできなくなってしまいました。 $ ssh -i suz-lab_ap-northeast-1.pem -l root ec2-xxx-xxx-xxx-xxx.ap-northeast-1.compute.amazonaws.com Received disconnect from xxx.xxx.xxx.xxx: 2: Too many authentication failures for root 取り急ぎ、下記のようなファイルを用意することで解決しました。 $ cat /Users/suzuki/.ssh/config IdentitiesOnly yes こちらの記事はなかの人(suz-lab)監修のもと掲載しています。 元記事は、こちら