Prelim. CVS/plink howto
authorowen <owen@cda61777-01e9-0310-a592-d414129be87e>
Wed, 7 Feb 2001 11:20:15 +0000 (11:20 +0000)
committerowen <owen@cda61777-01e9-0310-a592-d414129be87e>
Wed, 7 Feb 2001 11:20:15 +0000 (11:20 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@930 cda61777-01e9-0310-a592-d414129be87e

doc/plink.but

index 56237d2..9474955 100644 (file)
@@ -1,4 +1,4 @@
-\versionid: $Id: plink.but,v 1.2 2001/02/04 15:47:01 owen Exp $
+\versionid $Id: plink.but,v 1.3 2001/02/07 11:20:15 owen Exp $
 
 \C{plink} Using the command-line connection tool Plink
 
@@ -13,8 +13,8 @@
 
 \# Give instructions on how to set up Plink with CVS
 
-Plink (PuTTY Link), is a command-line connection tool similar to UNIX
-\c{ssh}.  It is probably not what you want if you want to run an
+\i{Plink} (PuTTY Link), is a command-line connection tool similar to
+UNIX \c{ssh}.  It is probably not what you want if you want to run an
 interactive session in a console window.
 
 \H{plink-starting} Starting Plink
@@ -63,9 +63,25 @@ These are the command line options that Plink accepts.
 
 \H{plink-pubkey} Public key authentication
 
-\H{plink-batch} Using Plink in batch files and scripts
+\H{plink-batch} Using Plink in \i{batch files} and \i{scripts}
 
-\H{plink-cvs} Using Plink with CVS
+\H{plink-cvs} Using Plink with \i{CVS}
+
+To use Plink with CVS, you need to do something like the following:
+
+\c set CVS_RSH=\path\to\plink.exe
+\c cvs -d :ext:user@hostname:/path/to/repository co module
+
+This should work, provided the command \c{plink hostname -l user} works
+without requiring a password.
+
+You can arrange for that to be the case by:
+
+\b running Pageant (see \k{pageant}) and putting a valid RSA key in it
+
+\b using a saved session name in place of \c{hostname}, and having that saved
+   session specify a valid RSA key. (If you do this, you can also leave out
+   \c{user@}, provided you specify it in the saved session.)
 
 \H{plink-whatelse} Using Plink with... ?