当我尝试在git shell上远程连接github时,但是返回此错误,我不知道如何处理它。
C:\Users\wt> ssh –t git@github.com
ssh.exe": Could not resolve hostname \342\200\223t: no address associated with name
C:\Users\wt> ssh -t git@github.com
Warning: Permanently added 'github.com,192.30.252.128' (RSA) to the list of known hosts.
Permission denied (publickey).
有人能给我一些建议吗?
非常感谢!
答案 0 :(得分:0)
您需要生成公钥并将其添加到您的github帐户。 然后,您需要确保已将私钥添加到ssh中。 这个linke应该有所帮助(按照每个步骤):https://help.github.com/articles/generating-ssh-keys/