svn over an ssh tunnel

5 Dec 2007

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.

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

comments powered by Disqus

  « Previous: Next: »