[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svn+ssh through ssh gateway

From: Eugen Zalinescu <eugen.zalinescu_at_gmail.com>
Date: Sat, 15 Mar 2008 15:29:03 +0100

Hello,

I need to access some svn repository through an ssh gateway, but i don't
succeed when using TortoiseSVN.

For ssh access only I do:
  $ plink.exe -t -i id_dsa.ppk gateway.com ssh svn.server.com
or, in Cygwin,
  $ ssh.exe svn.server.com
having
  Host svn.server.com
    ProxyCommand ssh gateway.com nc -q 0 %h %p
in ~/.ssh/config.

Note that in cygwin
  $ svn list svn+ssh://user@svn.server.com/repository<http://svn+ssh//user@svn.server.com/repository>
works fine.

But using TortoiseSVN->Settings->Network->SSH client with
  plink.exe -t -i id_dsa.ppk gateway.com ssh svn.server.com
or with
  "c:\cygwin\bin\ssh.exe -F c:\path\to\.ssh\config"
gives
  "Connection closed unexpectedly" and I don't know how to see what went
wrong.
Also, modifying the ssh entry in the General->Subversion configuration file
doesn't seem to be taken into account.
Some suggestions?

Thanks,
Eugen Zalinescu
Received on 2008-03-15 15:30:02 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.