windows - How to use svn+ssh with Tortoise SVN from the command line -
i'm having trouble trying checkout repo using following syntax on windows 7 workstation tortoisesvn:
svn co svn+ssh://user@ip/repo .
what i've done test issue:
- modified network settings of tortoisesvn point ..\tortoiseplink.exe
- successfully established ssh connection target machine no issues
- successfully checked out repos workstations running ubuntu openssh
when try above syntax command line on windows 7 workstation error:
svn: e720087: unable connect repository @ url 'svn+ssh:///user@ip/repo' svn: e720087: can't create tunnel:the parameter incorrect.
interestingly, if use tortoise gui browse repo can open , check out repo. need command line scripting purposes.
any suggestions?
for svn+ssh work tortoise, make sure %svn_ssh%
set ssh client (probably plink.exe tortoise or putty) , path must written either forward slashes /
or escaped backslashes \\
.
try set %svn_ssh%
absolute path of plink while escaping backslashes, c:\\program files\\tortoisesvn\\bin\\tortoiseplink.exe
instead of ..\tortoiseplink.exe