Pages

Sunday, 3 June 2012

Specify ssh port for subversion in IDEA

Say you have an ssh server listening on the port 2222. You can edit yout personal config file, located at
~/.subersion/config
but IDEA won't pick that up. Use the global config file instead:
$ grep -B1 222 /etc/subversion/config
[tunnels]
sshtunnel = ssh -p 2222

And now you can do things like:
svn ls svn+sshtunnel://HOSTNAME/repolocation

No comments:

Post a Comment