[lug] SSH tunnel, svn, https problem
gmurray at mines.edu
Wed Feb 4 18:02:13 MST 2009
On Tue, 3 Feb 2009, David Morris wrote:
> You are trying to use a proxy where none exists. localhost:2588 is
> the actual server, not a proxy.
Thanks, that makes sense. It seems the problem is in my .ssh/config?
I'm trying to access the subversion server behind a gateway. I
usually use the tunnel for shells and web browsing on various Linux
boxes, but I have no account on the subversion server.
I'm trying to get commands like "svn update" to work through the
tunnel. My config looks like this:
# For ssh shells
#For web pages
LocalForward 2280 some.webserver.gov:80
# For svn ---not working
LocalForward 2588 subversion.server.gov:443
ProxyCommand $HOME/bin/ProxyCommand.sh %h %p
[The ProxyCommand.sh script is:
if connect -n 127.0.0.1 1080 >/dev/null 2>&1 </dev/null; then
exec connect -4 -S 127.0.0.1:1080 "$@"
exec connect -n "$@"
# https://localhost:2588/ ----not working
Thanks for the help,
More information about the LUG