Reputation: 4918
I am inside a university network which uses proxy to access net. I am unable to access git hub through ssh and also https. I have setup ssh_config also netrc but getting error. Please help me out?
git push -u origin master
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
my ssh config file
SendEnv LANG LC_*
HashKnownHosts yes
GSSAPIAuthentication yes
GSSAPIDelegateCredentials no
Host github.com
ProxyCommand /usr/bin/corkscrew 202.141.80.19 3128 %h %p ~/.ssh/myauth
User git
Port 443
Hostname ssh.github.com
TCPKeepAlive yes
IdentitiesOnly yes
my netrc contain
`machine github.com
`username [email protected]`
`password password`
Upvotes: 0
Views: 168
Reputation: 5203
git remote -v
should give you an url of the form:[email protected]:yournick/yourproject.git
ssh [email protected]
and see something like:Hi yournick! You've successfully authenticated, but GitHub does not provide shell access.
See also:
Upvotes: 1