Setting up secure access to a cvs repository from Windows works great using these two awesome tools:

  • Putty
  • TortoiseCVS

    The docs explain things pretty well. The only part that can snag is getting them working together through a proxy, which required replacement of Tortoise CVS’s no-terminal ssh connection utility (tortoiseplink.exe) with Putty’s version (plink.exe). Here are the steps:

  • Install putty and tortoise cvs
  • Set up your ssh keys, and configure pageant to serve up your private key, according to the docs (unless you’re willing to enter your linux user password a LOT)
  • Set up a putty session for plink as follows:
  • Connection: add your user to Auto-login username
  • Connection:Proxy set up your proxy
  • Connection:SSH check “don’t allocate a terminal” and “don’t run a command”
  • Name and save the session [e.g. yourplinksession]
  • Set up a plink.bat batch file: [plink.exe -load yourplinksession %1 %2 %3 %4]
  • Tortoise CVS preferences:Tools:SSH application set to plink.bat
  • Tortoise CVS preferences:Tools:SSH parameters set to [-l “%u” ]

    Fire it up!

  • Leave a Reply