简体   繁体   中英

when upload file to github, occur error?

When I try to remotely connect github on git shell, but return this error, and I don't hnow how to handle it.

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).

Can anyone give me some advice?

Thanks a lot!

You need to generate your public key and add it to your github account. Then you need to make sure you have added your private key to your ssh. This linke should help(follow each step) : https://help.github.com/articles/generating-ssh-keys/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM