hanshileiai
5/29/2018 - 7:47 AM

SSH Too many authentication failures

ssh 连接时显示Too many authentication failures 错误

ssh 连接问题

git clone git@192.168.xxx.xxx:Group-xx/xxx.git
Cloning into 'web_auto_sync'...
Received disconnect from 192.168.xxx.xxx port 22:2: Too many authentication failures
Disconnected from 192.168.xxx.xxx port 22
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

简单处理方法:

在 .ssh 目录下添加config 文件:~/.ssh/config

Host *
IdentitiesOnly yes