英文:
When checking ssh to github connection with ssh -T git@github.com does git@github.com refer to github account email or do we type the command as is?
问题
我输入如下:
ssh -T git@github.com
但我收到了:
从 GitHub IP 地址端口收到断开连接: 再见
与 IP 和端口断开连接
我已经尝试多次重新安装 Visual Studio。
英文:
I typed as is:
ssh -T git@github.com
But I get:
Received disconnect from github ip address ports: Bye Bye
Disconnected from ips and ports.
I have tried reinstalling visual studio multiple times.
答案1
得分: 2
这是运行的字面命令。如果身份验证成功,您应该会收到适当的消息。例如(使用显式的SSH密钥):
ssh -T -i ~/.ssh/github git@github.com
输入密钥“/home/match/.ssh/github”的密码:
嗨<用户名>!您已成功进行身份验证,但GitHub不提供Shell访问。
英文:
This is the literal command to run. You should receive an appropriate message if authentication is successful. For example (using an explicit ssh key):
ssh -T -i ~/.ssh/github git@github.com
Enter passphrase for key '/home/match/.ssh/github':
Hi <username>! You've successfully authenticated, but GitHub does not provide shell access.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论