1plink(1)                       PuTTY tool suite                       plink(1)
2
3
4

NAME

6       plink - PuTTY link, command line network connection tool
7

SYNOPSIS

9       plink [options] [user@]host [command]
10

DESCRIPTION

12       plink is a network connection tool supporting several protocols.
13

OPTIONS

15       The command-line options supported by plink are:
16
17       -V     Show version information and exit.
18
19       -pgpfp Display  the fingerprints of the PuTTY PGP Master Keys and exit,
20              to aid in verifying new files released by the PuTTY team.
21
22       -v     Show verbose messages.
23
24       -load session
25              Load settings from saved session.
26
27       -ssh   Force use of SSH protocol (default).
28
29       -telnet
30              Force use of Telnet protocol.
31
32       -rlogin
33              Force use of rlogin protocol.
34
35       -raw   Force raw mode.
36
37       -serial
38              Force serial mode.
39
40       -P port
41              Connect to port port.
42
43       -l user
44              Set remote username to user.
45
46       -m path
47              Read remote command(s) from local file path.
48
49       -batch Disable interactive prompts.
50
51       -pw password
52              Set remote password to password. CAUTION: this will likely  make
53              the  password  visible  to other users of the local machine (via
54              commands such as `w').
55
56       -L [srcaddr:]srcport:desthost:destport
57              Set  up  a  local  port  forwarding:  listen  on   srcport   (or
58              srcaddr:srcport  if specified), and forward any connections over
59              the SSH connection to the destination address desthost:destport.
60              Only works in SSH.
61
62       -R [srcaddr:]srcport:desthost:destport
63              Set up a remote port forwarding: ask the SSH server to listen on
64              srcport (or srcaddr:srcport if specified), and  to  forward  any
65              connections  back  over the SSH connection where the client will
66              pass them on to the destination address desthost:destport.  Only
67              works in SSH.
68
69       -D [srcaddr:]srcport
70              Set  up  dynamic  port forwarding. The client listens on srcport
71              (or  srcaddr:srcport  if  specified),  and  implements  a  SOCKS
72              server.  So  you can point SOCKS-aware applications at this port
73              and they will automatically use the SSH connection to tunnel all
74              their connections. Only works in SSH.
75
76       -X     Enable X11 forwarding.
77
78       -x     Disable X11 forwarding (default).
79
80       -A     Enable agent forwarding.
81
82       -a     Disable agent forwarding (default).
83
84       -t     Enable pty allocation (default if a command is NOT specified).
85
86       -T     Disable pty allocation (default if a command is specified).
87
88       -1     Force use of SSH protocol version 1.
89
90       -2     Force use of SSH protocol version 2.
91
92       -C     Enable SSH compression.
93
94       -i path
95              Private key file for authentication.
96
97       -s     Remote command is SSH subsystem (SSH-2 only).
98
99       -N     Don't start a remote command or shell at all (SSH-2 only).
100
101       -sercfg configuration-string
102              Specify  the  configuration  parameters  for the serial port, in
103              -serial mode. configuration-string should be  a  comma-separated
104              list of configuration parameters as follows:
105
106              ·      Any  single  digit  from  5  to 9 sets the number of data
107                     bits.
108
109              ·      `1', `1.5' or `2' sets the number of stop bits.
110
111              ·      Any other numeric string is interpreted as a baud rate.
112
113              ·      A single lower-case letter specifies the parity: `n'  for
114                     none, `o' for odd, `e' for even, `m' for mark and `s' for
115                     space.
116
117              ·      A single upper-case letter specifies  the  flow  control:
118                     `N'  for  none, `X' for XON/XOFF, `R' for RTS/CTS and `D'
119                     for DSR/DTR.
120

MORE INFORMATION

122       For more information on plink, it's probably best to go and look at the
123       manual on the PuTTY web page:
124
125       http://www.chiark.greenend.org.uk/~sgtatham/putty/
126

BUGS

128       This  man page isn't terribly complete. See the above web link for bet‐
129       ter documentation.
130
131
132
133PuTTY tool suite                  2004‐03‐24                          plink(1)
Impressum