Feed on
Posts
Comments

let’s say you communicate with your SVN repository via ssh and a non-standard port (not 22).

to get svn commands transmitting on let’s say port 123, here’s what you can do:

  •  add the following to ~/.ssh/config:

host SVNalias
Hostname www.svnhost.com
Port 123

  • now, just call your svn command using the alias:

svn import ./local_folder svn+ssh://user@SVNalias/SVN/new_folder -m “initial import”


Bookmark and Share

if that was helpful ...

check out the other tips and tricks i've compiled on these pages. you might learn something else interesting!

One Response to “how to use svn+ssh with a non-standard port”

  1. [...] http://desk.stinkpot.org:8080/tricks/index.php/2008/05/how-to-use-svnssh-with-a-non-standard-port/ [...]

Did I get this wrong? Let me know!

Trackback URI | Comments RSS