To use Plink with CVS, you need to set the environment variable CVS_RSH
to point to Plink:
set CVS_RSH=\path\to\plink.exe
You also need to arrange to be able to connect to a remote host without a password. To do this, either:
cvs -d :ext:user@sessionname:/path/to/repository co module
If you specified a username in your saved session, you can just say:
cvs -d :ext:sessionname:/path/to/repository co module
Alternatively, you can use Pageant if Pageant is running (see chapter 7). To do this, you would:
PLINK_PROTOCOL
to the string ssh
, to make sure Plink will try to connect using SSH instead of Telnet.cvs -d :ext:user@hostname:/path/to/repository co module