X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/7638530e7dde0d2c2cd467698a6d0d1966f1929f..65befd9c1c0a62cf6ec782c10ade41d607c237f7:/doc/plink.but diff --git a/doc/plink.but b/doc/plink.but index cd8e31d3..835dad80 100644 --- a/doc/plink.but +++ b/doc/plink.but @@ -1,21 +1,10 @@ -\versionid $Id: plink.but,v 1.4 2001/02/19 23:24:01 owen Exp $ +\versionid $Id: plink.but,v 1.10 2001/11/25 16:57:45 simon Exp $ \C{plink} Using the command-line connection tool Plink -\# Explain Plink - -\# Explain that Plink is probably not what you want if you want to -\# run an interactive session in a Command Prompt window - -\# Explain that Plink is really for batch-file use, and that -\# therefore it works best with public-key authentication; link to -\# that chapter - -\# Give instructions on how to set up Plink with CVS - -\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. +\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 @@ -30,7 +19,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 @@ -104,10 +93,11 @@ 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: +\k{config-saving}) with the protocol set to SSH (see +\k{config-hostname}) and specifies your private key file (see +\k{config-ssh-privkey}). 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 +110,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