| Summary: | SSH and Socks Proxy does not work together | ||
|---|---|---|---|
| Product: | [Technology] EGit | Reporter: | Kai Toedter <kai.toedter> |
| Component: | Core | Assignee: | Project Inbox <egit.core-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | alex.blewitt, carsten.pfeiffer, foofoobar, mknauer, remy.suen, twolf |
| Version: | 1.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Kai Toedter
If you instruct Eclipse to use a socks proxy, and your .ssh/config has a ProxyConfig, then you'd get this behaviour. Do you have any entries in the .ssh/config? Note that the location of the .ssh is overridden in the eclipse network preferences. Alex, I don't have any proxies specified in ssh config. Actually I don't have any config at all. In my .ssh directory there are only my keys at known hosts. When I choose "Direct" in the Eclipse network connections and connect directly to the Internet, everything works fine, so I guess my ssh is configured correctly. When I am behind the firewall and use our sock5 proxy I get the described behavior. I came across the same issue. I set up an git repository, that is only available over the tor-network(an .onion address). After that, I changed the SOCKS proxy to 127.0.0.1:9050 (the tor proxy) under General->Network Connections. If I now try to connect to the git server with ssh://git@[onion address].onion:[port]/path/to/repo.git I get: Transport Error: Cannot get remote repository refs. [uriOfTheRepo]: ProxySOCKS5: com.jcraft.jsch.JSchException: fail in SOCKS5 proxy Running 'torify ssh git@[onion address].onion:[port]' opens a shell for user git(=works fine). I have tested this for eclipse oxygen and the latest photon, both with the same result as described above. It looks to be the same issue Kai had. Is there some workaround for that? Does this still occur with the new Apache MINA sshd ssh client in EGit? (Select it in Preferences->Team->Git.) |