1plink(1) PuTTY tool suite plink(1)
2
3
4
6 plink ‐ PuTTY link, command line network connection tool
7
9 plink [options] [user@]host [command]
10
12 plink is a network connection tool supporting several protocols.
13
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 -P port
38 Connect to port port.
39
40 -l user
41 Set remote username to user.
42
43 -m path
44 Read remote command(s) from local file path.
45
46 -batch Disable interactive prompts.
47
48 -pw password
49 Set remote password to password. CAUTION: this will likely make
50 the password visible to other users of the local machine (via
51 commands such as `w').
52
53 ‐L [srcaddr:]srcport:desthost:destport
54 Set up a local port forwarding: listen on srcport (or
55 srcaddr:srcport if specified), and forward any connections over
56 the SSH connection to the destination address desthost:destport.
57 Only works in SSH.
58
59 ‐R [srcaddr:]srcport:desthost:destport
60 Set up a remote port forwarding: ask the SSH server to listen on
61 srcport (or srcaddr:srcport if specified), and to forward any
62 connections back over the SSH connection where the client will
63 pass them on to the destination address desthost:destport. Only
64 works in SSH.
65
66 ‐D [srcaddr:]srcport
67 Set up dynamic port forwarding. The client listens on srcport
68 (or srcaddr:srcport if specified), and implements a SOCKS
69 server. So you can point SOCKS-aware applications at this port
70 and they will automatically use the SSH connection to tunnel all
71 their connections. Only works in SSH.
72
73 -X Enable X11 forwarding.
74
75 -x Disable X11 forwarding (default).
76
77 -A Enable agent forwarding.
78
79 -a Disable agent forwarding (default).
80
81 -t Enable pty allocation (default if a command is NOT specified).
82
83 -T Disable pty allocation (default if a command is specified).
84
85 -1 Force use of SSH protocol version 1.
86
87 -2 Force use of SSH protocol version 2.
88
89 -C Enable SSH compression.
90
91 -i path
92 Private key file for authentication.
93
94 -s Remote command is SSH subsystem (SSH-2 only).
95
96 -N Don't start a remote command or shell at all (SSH-2 only).
97
99 For more information on plink, it's probably best to go and look at the
100 manual on the PuTTY web page:
101
102 http://www.chiark.greenend.org.uk/~sgtatham/putty/
103
105 This man page isn't terribly complete. See the above web link for bet‐
106 ter documentation.
107
108
109
110PuTTY tool suite 2004‐03‐24 plink(1)