Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 351352

Summary: SSH access to git.eclipse.org not working
Product: Community Reporter: Jochen Hiller <jochen.hiller>
Component: GitAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: simon.kaufmann, tomasz.zarna
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description Jochen Hiller CLA 2011-07-06 12:11:34 EDT
I want to clone a git repo for Skalli project, which is not working anymore (dont know how long).

Cloning via git, http is working fine:

$ git clone git://git.eclipse.org/gitroot/skalli/org.eclipse.skalli.git
Cloning into org.eclipse.skalli...
remote: Counting objects: 3840, done.
remote: Compressing objects: 100% (1800/1800), done.
remote: Total 3840 (delta 1770), reused 2226 (delta 974)
Receiving objects: 100% (3840/3840), 1.05 MiB | 457 KiB/s, done.
Resolving deltas: 100% (1770/1770), done.
$ git clone http://git.eclipse.org/gitroot/skalli/org.eclipse.skalli.git
Cloning into org.eclipse.skalli...
remote: Counting objects: 3840, done.
remote: Compressing objects: 100% (1800/1800), done.
remote: Total 3840 (delta 1773), reused 2224 (delta 974)
Receiving objects: 100% (3840/3840), 1.05 MiB | 193 KiB/s, done.
Resolving deltas: 100% (1773/1773), done.
$

Cloning via ssh is not working, https DOES work:
 
$ git clone ssh://committer_id@git.eclipse.org/gitroot/skalli/org.eclipse.skalli.git
Cloning into org.eclipse.skalli...
ssh: connect to host git.eclipse.org port 22: Operation timed out
fatal: The remote end hung up unexpectedly
$ git clone https://committer_id@git.eclipse.org/gitroot/skalli/org.eclipse.skalli.git
Cloning into org.eclipse.skalli...
Password: 
remote: Counting objects: 3840, done.
remote: Compressing objects: 100% (1800/1800), done.
remote: Total 3840 (delta 1770), reused 2226 (delta 974)
Receiving objects: 100% (3840/3840), 1.05 MiB | 320 KiB/s, done.
Resolving deltas: 100% (1770/1770), done.
$


BTW: ssh to dev.eclipse.org is also not working at this time
$ ssh committer_id@dev.eclipse.org
ssh_exchange_identification: read: Connection reset by peer
$

I've checked my firewall, SSH login to other servers is working fine. So it should not be MY firewall problem.
Is it probably related to this Bug 350336 (cannot SSH to egit.eclipse.org) ???

Thanks, Jochen
Comment 1 Jochen Hiller CLA 2011-07-06 12:14:31 EDT
To be more precise:

Same behavior on git commandline and with EGit Tooling within Eclipse.
Comment 2 Denis Roy CLA 2011-07-08 09:34:33 EDT
I would need your IP address (as reported by http://whatismyip.org/).  Feel free to paste it here, or to send it to me to webmaster@eclipse.org.  Since everyone else can connect to SSH just fine, I assume either your IP is being blocked on our end, or you have a firewall blocking SSH connections.
Comment 3 Tomasz Zarna CLA 2011-07-12 13:51:31 EDT
I'm having a similar issue. Not able to fetch changes, worked fine in the morning.

$ git remote -v
origin  ssh://tzarna@dev.eclipse.org/gitroot/e4/org.eclipse.orion.server.git (fetch)
...

$ git fetch -v
ssh_exchange_identification: read: Connection reset by peer
fatal: The remote end hung up unexpectedly

http://whatismyip.org/ says I'm 62.21.20.145
Comment 4 Denis Roy CLA 2011-07-12 14:01:08 EDT
Tomasz, my logs show a series of failed SSH login attempts on dev.eclipse.org, which has resulting in your subnet being blocked.

I've cleared the block; can you confirm that you can SSH to dev.eclipse.org with an SSH client, such as Putty, before re-trying Git?

Also, if you'd like, email me (webmaster@) your public key and I'll put it in the proper location so that you can connect to SSH with your private key.
Comment 5 Tomasz Zarna CLA 2011-07-12 14:13:42 EDT
(In reply to comment #4)
> Tomasz, my logs show a series of failed SSH login attempts on dev.eclipse.org,
> which has resulting in your subnet being blocked.

That's my fault. I had a unit test banging to dev.eclipse.org with a bad password. I will change the test, that was reckless.

> I've cleared the block; can you confirm that you can SSH to dev.eclipse.org
> with an SSH client, such as Putty, before re-trying Git?

Everything works fine now. Tried SSH and git.

> Also, if you'd like, email me (webmaster@) your public key and I'll put it in
> the proper location so that you can connect to SSH with your private key.

Sent, thx.
Comment 6 Denis Roy CLA 2011-10-25 12:20:27 EDT
Looks like this is no longer an issue.