TortoiseCVS Command Line How-To

A Server with public/private key SSH access only.
How do we setup a environment for Windows to do cvs task with Tortoise "Equipments".

It's easy.

First build a file named “plink.bat” in your test directory.

"C:\Program Files\TortoiseCVS\TortoisePlink.exe" -ssh -i "C:/somefolder/mykey.ppk" %2 %3 %1 %4 %5

I know, the parameters looks wired, but it works in this way.

Second, build an other file named "co.bat" in your test directory.

REM Usage: co.bat
SET CVSROOT=:ext:your_name@server_name:repository_folder
SET CVS_RSH=plink.bat
"C:\Program Files\TortoiseCVS\cvs.exe" checkout -r %3 %2

You should replace all red line with your configuration.

Good luck.

The idea come from: http://www.ibt4im.com/?guid=20040407135232