Ishant Mrinal
Ishant Mrinal

Reputation: 4918

Pushing error in github over proxy enabled network?

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

Answers (1)

remram
remram

Reputation: 5203

  • Check your repository configuration: git remote -v should give you an url of the form:

[email protected]:yournick/yourproject.git

Hi yournick! You've successfully authenticated, but GitHub does not provide shell access.

See also:

Upvotes: 1

Related Questions