|egit ssh failure [message #830558]
||Tue, 27 March 2012 15:56
| J Cantara
Registered: March 2012
I just downloaded Eclipse yesterday, and installed the Egit plugin (or add-on, not sure the terminology yet). I set it up what I believe is correctly (using git over ssh), but I get disconnected upon trying to connect to my git server. I don't have the exact error in front of me; but it was very simple and nondescript, something like "exception when executing ls-remote". The error I have on the server side of things is as follows:
Accepted publickey for git from ip.addr.addr.addr port 1024 ssh2
pam_unix(sshd:session): session opened for user git by (uid=0)
channel_by_id: 0: bad id: channel free
Disconnecting: Received data for nonexistent channel 0.
pam_unix(sshd:session): session closed for user git
So it looks like it is accepting the ssh key, and making the connection properly; but then the "nonexistent channel" error, I don't know what to do about. There's very little on google about it as well. It looks like eclipse uses Jsch for ssh internally - but I can't find a way to update that specifically, it doesn't appear to be a plugin or anything. I tried the "stable" Egit, and then the "bleeding edge" one as well; both with the same result.
I don't know what other information would be useful for me to provide - I am an eclipse newbie, so please be gentle The version of eclipse is "classic" and whatever was available yesterday (2012-03-26) on the website.
More notes: client machine where eclipse is installed is Win7-64. Git server is Ubuntu 10.04 with openssh.
Further notes: this git repo is known-working otherwise.
[Updated on: Tue, 27 March 2012 16:19]
Report message to a moderator