Previous | Contents | Next

Section 5.2: Plink Usage

Once you've got a console window to type into, you can just type plink on its own to bring up a usage message. This tells you the version of Plink you're using, and gives you a brief summary of how to use Plink:

Z:\sysosd>plink
PuTTY Link: command-line connection utility
Release 0.50
Usage: plink [options] [user@]host [command]
Options:
  -v        show verbose messages
  -ssh      force use of ssh protocol
  -P port   connect to specified port
  -pw passw login with specified password

5.2.1 The basics

5.2.2 Options

These are the command line options that Plink accepts.

5.2.2.1 -v show verbose messages

By default, Plink only displays any password prompts and the output of the remote command. The -v option makes it print extra information about the connection being made, for example:

Server version: SSH-1.5-OpenSSH-1.2.3
We claim version: SSH-1.5-PuTTY
Using SSH protocol version 1
Received public keys
Host key fingerprint is:
      1023 e3:65:44:44:bd:b1:04:59:bc:e2:3d:a1:4d:09:ce:99
Encrypted session key
Using 3DES encryption
Trying to enable encryption...
Successfully started encryption
Sent username "fred".
Sent username "fred"
fred@example.com's password:

This information can be useful for diagnosing problems.

5.2.2.2 -ssh force use of ssh protocol

5.2.2.3 -P port connect to specified port

5.2.2.4 -pw passw login with specified password

Previous | Contents | Next


Comments to putty@projects.tartarus.org
[$Id: pubkey.but,v 1.6 2001/09/25 19:59:14 simon Exp $]