Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

svn/ssh question in windows

Tags:

windows

ssh

svn

I am trying to do a command line svn update on my windows machine (to use in a batch file), and I want it to emulate what my settings are in the Tortoise SVN GUI.

In the tortoise settings, we have to specify the following in the SSH client...

C:\Program Files\TortoiseSVN\bin\TortoisePlink.exe -l usernamehere -pw mypassword -i C:\Users\Mike\Documents\myprivatekey.ppk 

and I simply right click update...

does anyone know how I would use the svn.exe to emulate the above? (using plink with a private key?)

If I am not clear on something please comment and I will work it out.

Best, Mike


1 Answers

svn+ssh command line

Basically,

  • Edit the file c:\Documents and Settings\user\Application Data\Subversion\config

  • Locate the section named [tunnels]

  • Add the following line : ssh=c:/path/to/plink.exe -i c:/path/to/your/key.ppk

like image 194
John Ellinwood Avatar answered Aug 13 '26 06:08

John Ellinwood



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!