1 \cfg{man-identity}{psftp}{1}{2004-03-24}{PuTTY tool suite}{PuTTY tool suite}
3 \H{psftp-manpage} Man page for PSFTP
5 \S{psftp-manpage-name} NAME
7 \cw{psftp} \- interactive SFTP (secure file transfer protocol) client
9 \S{psftp-manpage-synopsis} SYNOPSIS
11 \c psftp [options] [user@]host
12 \e bbbbb iiiiiii iiiib iiii
14 \S{psftp-manpage-description} DESCRIPTION
16 \cw{psftp} is an interactive text-based client for the SSH-based SFTP
17 (secure file transfer) protocol.
19 \S{psftp-manpage-options} OPTIONS
21 The command-line options supported by \cw{psftp} are:
25 \dd Show version information and exit.
29 \dd Display the fingerprints of the PuTTY PGP Master Keys and exit,
30 to aid in verifying new files released by the PuTTY team.
32 \dt \cw{-b} \e{batchfile}
34 \dd Use specified batchfile.
38 \dd Output batchfile commands.
42 \dd Don't stop batchfile processing on errors.
46 \dd Show verbose messages.
48 \dt \cw{-load} \e{session}
50 \dd Load settings from saved session.
54 \dd Connect to port \e{port}.
56 \dt \cw{\-proxycmd} \e{command}
58 \dd Instead of making a TCP connection, use \e{command} as a proxy;
59 network traffic will be redirected to the standard input and output
60 of \e{command}. \e{command} must be a single word, so is likely to
61 need quoting by the shell.
64 The special strings \cw{%host} and \cw{%port} in \e{command} will be
65 replaced by the hostname and port number you want to connect to; to get
66 a literal \c{%} sign, enter \c{%%}.
68 Backslash escapes are also supported, such as sequences like \c{\\n}
69 being replaced by a literal newline; to get a literal backslash,
70 enter \c{\\\\}. (Further escaping may be required by the shell.)
72 (See the main PuTTY manual for full details of the supported \cw{%}-
73 and backslash-delimited tokens, although most of them are probably not
74 very useful in this context.)
79 \dd Set remote username to \e{user}.
83 \dd Disable interactive prompts.
85 \dt \cw{-pw} \e{password}
87 \dd Set remote password to \e{password}. \e{CAUTION:} this will likely
88 make the password visible to other users of the local machine (via
89 commands such as \q{\c{w}}).
93 \dd Force use of SSH protocol version 1.
97 \dd Force use of SSH protocol version 2.
101 \dd Force use of IPv4 or IPv6 for network connections.
105 \dd Enable SSH compression.
107 \dt \cw{-i} \e{keyfile}
109 \dd Private key file for user authentication. For SSH-2 keys, this key
110 file must be in PuTTY's PPK format, not OpenSSH's format or anyone
113 \lcont{ If you are using an authentication agent, you can also specify
114 a \e{public} key here (in RFC 4716 or OpenSSH format), to identify
115 which of the agent's keys to use. }
119 \dd Don't try to use an authentication agent.
123 \dd Allow use of an authentication agent. (This option is only necessary
124 to override a setting in a saved session.)
126 \dt \cw{\-hostkey} \e{key}
128 \dd Specify an acceptable host public key. This option may be specified
129 multiple times; each key can be either a fingerprint (\cw{99:aa:bb:...}) or
130 a base64-encoded blob in OpenSSH's one-line format.
132 \lcont{ Specifying this option overrides automated host key
133 management; \e{only} the key(s) specified on the command-line will be
134 accepted (unless a saved session also overrides host keys, in which
135 case those will be added to), and the host key cache will not be
138 \dt \cw{\-sshlog} \e{logfile}
140 \dt \cw{\-sshrawlog} \e{logfile}
142 \dd These options make \cw{psftp} log protocol details to a file.
143 (Some of these may be sensitive, although by default an effort is made
144 to suppress obvious passwords.)
147 \cw{\-sshlog} logs decoded SSH packets and other events (those that
148 \cw{\-v} would print). \cw{\-sshrawlog} additionally logs the raw
149 encrypted packet data.
152 \S{psftp-manpage-commands} COMMANDS
154 For a list of commands available inside \cw{psftp}, type \cw{help}
155 at the \cw{psftp>} prompt.
157 \S{psftp-manpage-more-information} MORE INFORMATION
159 For more information on \cw{psftp} it's probably best to go and look at
160 the manual on the PuTTY web page:
162 \cw{http://www.chiark.greenend.org.uk/~sgtatham/putty/}
164 \S{psftp-manpage-bugs} BUGS
166 This man page isn't terribly complete. See the above web link for
167 better documentation.