1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

Prelim. CVS/plink howto

[originally from svn r930]
This commit is contained in:
Owen Dunn 2001-02-07 11:20:15 +00:00
parent e7f833834c
commit 7e41e63161

View 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... ?