sonia hamilton – life on the digital bikepath – sonia@snowfrog.net

4 December 2007

svn over an ssh tunnel

Filed under: Ssh, Subversion — Sonia @ 19:24

Often a subversion server is on an internal server that can’t be reached by a DMZ server, and ssh+svn isn’t setup. Here’s a quick recipe for ssh tunnelling from the subversion server to the DMZ server and using svn.

root@svnserver$ ssh -R dmzserver 3690:svnserver:3690
root@dmzserver$ svn co --username sonia svn://localhost/unix/trunk/foo/ # so root not used
root@dmzserver$ svn ci --username sonia --password secret

1 Comment »

  1. [...] cvs + socks using connect.c (similar to my post on svn over an ssh tunnel) [...]

    Pingback by Ssh SOCKS proxying, DNS proxying « sonia hamilton – life on the digital bikepath – sonia@snowfrog.net — 4 June 2009 @ 11:14


RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.