晚上突然发现ssh到gitlab的项目失败,提示:
ssh_exchange_identification: read: Connection reset by peer
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
尝试了几种方式之后,结合最近阿里云发过几次安全提醒,考虑到可能是本地ip被阿里云屏蔽了。
到阿里云后台把ip加入到白名单后解决。