X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/7638530e7dde0d2c2cd467698a6d0d1966f1929f..60e4458beac10737c37507e9006a070dcb1a3dfd:/doc/plink.but diff --git a/doc/plink.but b/doc/plink.but index cd8e31d3..8dfa0c04 100644 --- a/doc/plink.but +++ b/doc/plink.but @@ -1,4 +1,4 @@ -\versionid $Id: plink.but,v 1.4 2001/02/19 23:24:01 owen Exp $ +\versionid $Id: plink.but,v 1.7 2001/08/04 13:06:08 simon Exp $ \C{plink} Using the command-line connection tool Plink @@ -30,7 +30,7 @@ To start Plink it will need either to be on your \i{\c{PATH}} or in your current directory. To add the directory containing Plink to your \c{PATH} environment variable, type into the console window: -\c set PATH C:\path\to\putty\directory;%PATH% +\c set PATH=C:\path\to\putty\directory;%PATH% This will only work for the lifetime of that particular console window. To set your \c{PATH} more permanently on Windows NT, use the @@ -103,11 +103,11 @@ To use Plink with CVS, you need to set the environment variable You also need to arrange to be able to connect to a remote host without a password. To do this, either: -\b Run PuTTY, and create a PuTTY saved session (see -\k{config-saving}) which specifies your private key file (see -\k{config-auth}). You will probably also want to specify a username -to log in as (see \k{config-username}). You should then be able to -run CVS as follows: +\b Run PuTTY, and create a PuTTY saved session (see \k{config-saving}) +with the protocol set to SSH (see \k{config-hostname}) and specifies +your private key file (see \k{config-auth}). You will probably also +want to specify a username to log in as (see \k{config-username}). +You should then be able to run CVS as follows: \c cvs -d :ext:user@sessionname:/path/to/repository co module @@ -120,6 +120,10 @@ Alternatively, you can use Pageant if Pageant is running (see \b Ensure Pageant is running, and has your private key stored in it. +\b Set the environment variable \cw{PLINK_PROTOCOL} to the string +\c{ssh}, to make sure Plink will try to connect using SSH instead of +Telnet. + \b Run CVS as follows: \c cvs -d :ext:user@hostname:/path/to/repository co module