[lug] SSH tunnel, svn, https problem

David Morris lists at morris-clan.net
Tue Feb 3 19:07:43 MST 2009


On Tue, Feb 3, 2009 at 16:07, Glenn Murray <gmurray at mines.edu> wrote:
> Hi,
>
> I'm trying to get svn to work through an ssh tunnel to an https server
> I'll call my.server.gov.  My tunnel starts at localhost:2588.  I can
> browse to https://localhost:2588/svn/sysbio/trunk/sysbio/programming/
> (I'm warned about an invalid certificate and have to give a
> username/password, but I can browse).  Likewise, on the command line,
> this works:
>
> $ svn list https://localhost:2588/svn/sysbio/trunk/sysbio/programming/
>
> However,
>
> programming/$ svn list
> svn: PROPFIND request failed on '/svn/sysbio/trunk/sysbio/programming'
> svn: PROPFIND of '/svn/sysbio/trunk/sysbio/programming': Could not resolve
> hostname `my.server.gov': Host not found (https://my.server.gov)
>
> Now, in my ~.subversion/servers file, I have
>
> [groups]
> myserver = my.server*
> [myserver]
> http-proxy-host = localhost
> http-proxy-port = 2588
> ssl-trust-default-ca = yes
>
> Does anyone happen to know why this doesn't work?  I don't have a
> problem when connected through a VPN or when I'm "on campus".

You are trying to use a proxy where none exists.  localhost:2588 is
the actual server, not a proxy.

--David



More information about the LUG mailing list