Problems using gerrit from a client behind proxy [message #898390] |
Thu, 26 July 2012 10:16 |
Jayant Gupta Messages: 10 Registered: March 2012 |
Junior Member |
|
|
Hi all,
I am a contributor to etrice(Modelling) project. At my institute, I have a restricted internet access only through a proxy. I am facing some serious problems in pushing any new patch to Gerrit code review system through the proxy.
For carrying out the above task, I firstly tried to tunnel SSH over HTTP using corkscrew, following the instructions given at www.mtu.net/~engstrom/ssh-proxy.php . This is what i exactly did :
- Installed corkscrew
- Added ProxyCommand to ssh config
- Added proxy username and proxy authentication password to file ~/.ssh/proxyauth
After this, I was successful in setting up a ssh connecting to github and also push/pull changes to my github repo.
But I am unable to connect to gerrit through ssh. Here is the exact error :
$ssh -p 29418 jgupta@git.eclipse.org
Proxy could not open connnection to git.eclipse.org: Forbidden
ssh_exchange_identification: Connection closed by remote host
I am using Linux (RHEL 6.3 Beta x86_64) and git 1.7.11.1(latest).
The contents of my ~/.ssh/config are :
Host github.com
Hostname ssh.github.com
Port 443
ProxyCommand corkscrew 202.141.80.22 3128 %h %p ~/.ssh/proxyauth
Host *
ProxyCommand corkscrew 202.141.80.22 3128 %h %p ~/.ssh/proxyauth
The verbose (error)result for ssh request to git.eclipse.org is available at pastebin.com/zuMEZePs.
I tried deleting the contents of the known_hosts but this didn't help. What is the reason? Is this a problem at gerrit server?
Also, I have been unable to login to gerrit since long (after I changed my email address). But was still able to upload patches. Is this creating some problem?
I would be highly obliged if someone could help me in resolving this issue.
Thanking you in anticipation.
Regards,
Jayant
[Updated on: Thu, 26 July 2012 10:32] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.08434 seconds