草庐IT

refusedfatal

全部标签

ssh: connect to host github.com port 22: Connection refusedfatal: Could not read from remote reposi

当执行git命令如:gitclone、gitpull等等出现报错:ssh:connecttohostgithub.comport22:Connectiontimedoutfatal:Couldnotreadfromremoterepository.Pleasemakesureyouhavethecorrectaccessrightsandtherepositoryexists.问题主要出在是ssh密钥上,需要重置密钥,而且在git上添加打开cmd 输入命令ssh-keygen-trsa-C"您的email"一路回车,遇到(y/n)选择 y在用户的.ssh下生成了两个SSHKey的秘钥对,id_