简体   繁体   English

ssh -vT git@github.com收到“没有这样的文件或目录”错误

[英]ssh -vT git@github.com get “ No such file or directory” error

在此处输入图片说明

I have alareay add id_rsa.pub file content into my Github Account Setting. 我已经将id_rsa.pub文件内容添加到我的Github帐户设置中。

My OS is Windows10. 我的操作系统是Windows10。

First, make sure to answer yes when asked about the authenticity of GitHub host: you need to have your %USERPROFILE%\\.ssh\\known_hosts updated. 首先,当被问到GitHub主机的真实性时,请确保回答是:您需要更新%USERPROFILE%\\.ssh\\known_hosts

Second, you have re-generated and overwritten your %USERPROFILE%\\.ssh\\id_rsa.pub public key: make sure that new key is indeed registered (as one line) in your GitHub profile. 其次,你必须重新生成并覆盖您%USERPROFILE%\\.ssh\\id_rsa.pub公钥:确保在您的GitHub的个人资料新的密钥确实注册(如一条线)。

Third, check that you can read that same public key from your bash session: 第三,检查您是否可以从bash会话中读取相同的公钥:

cat /c/Users/lijp/.ssh/id_rsa.pub

Check also your public key fingerprint with the one recorded on GitHub: 还使用GitHub上记录的指纹检查您的公钥指纹:

ssh-keygen -E md5 -lf /c/Users/lijp/.ssh/id_rsa.pu

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ssh -vT git@github.com工作正常,代理位于github ssh密钥中。 问题出在哪里? - `ssh -vT git@github.com` works fine, and agent is in github ssh keys. Where is the issue? Git 克隆使用 ssh 不适用于消息“git@github.com:没有这样的文件或目录” - Git clone using ssh does not work with message "git@github.com: No such file or directory" 不能 SSH -T git@github.com - Cannot SSH -T git@github.com git@github.com:权限被拒绝(公钥)。 但是 ssh git@github.com 有效 - git@github.com: Permission denied (publickey) . But ssh git@github.com works SSHing git@github.com显示错误/旧的SSH密钥 - SSHing git@github.com shows wrong/old SSH key Capistrano“没有这样的文件或目录-git ls-remote git@github.com” - Capistrano “no such file or directory - git ls-remote git@github.com” ssh -T git@github.com有问题 - Having an issue with ssh -T git@github.com 获取ssh git@github.com:权限被拒绝(公钥) - Fetching ssh git@github.com: Permission denied (publickey) 我收到此错误 git@github.com: Permission denied (publickey), 当我在新 Mac 上 git push 时 - I get this error git@github.com: Permission denied (publickey), when I git push on new mac Git Submodule git@github.com:权限被拒绝(公钥)错误 - Git Submodule git@github.com: Permission denied (publickey) error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM