psftp(1)
π psftp(1) β PuTTY tool suite SFTP bestie π
okay so bestie, welcome to the psftp(1) manual page π this is the interactive SFTP client from the PuTTY tool suite, and we're gonna go through every flag together, no cap. β¨
πΈ NAME πΈ
psftp β interactive SFTP (secure file transfer protocol) client. That's the whole vibe. π¦
β¨ SYNOPSIS β¨
psftp [options] [user@]host
π DESCRIPTION π
psftp is an interactive text-based client for the SSH-based SFTP (secure file transfer) protocol. It's giving "files, but over SSH, and you get a whole prompt to play in." π
π«Ά OPTIONS π«Ά
The command-line options supported by psftp are:
-Vβ Show version information and exit.-pgpfpβ Display the fingerprints of the PuTTY PGP Master Keys and exit, to aid in verifying new files released by the PuTTY team.-b batchfileβ Use specifiedbatchfile.-bcβ Output batchfile commands.-beβ Don't stop batchfile processing on errors.-vβ Show verbose messages.-load sessionβ Load settings from savedsession.-P portβ Connect to portport.-proxycmd commandβ Instead of making a TCP connection, usecommandas a proxy; network traffic will be redirected to the standard input and output ofcommand.commandmust be a single word, so is likely to need quoting by the shell.
The special strings %host and %port in command will be replaced by the hostname and port number you want to connect to; to get a literal % sign, enter %%.
Backslash escapes are also supported, such as sequences like \n being replaced by a literal newline; to get a literal backslash, enter \\.. (Further escaping may be required by the shell.)
(See the main PuTTY manual for full details of the supported %- and backslash-delimited tokens, although most of them are probably not very useful in this context.)
-preconnectcommand commandβ Specify an external command to run just before making the main network connection. The syntax ofcommandis similar to that for-proxycmd.-l userβ Set remote username touser.-batchβ Disable interactive prompts.-no-sanitise-stderrβ By default, PSFTP will filter control characters from the standard error channel from the server, to prevent remote processes sending confusing escape sequences. This option forces the standard error channel to not be filtered.-pwfile filenameβ Open the specified file, and use the first line of text read from it as the remote password.-pw passwordβ Set remote password topassword. CAUTION: this will likely make the password visible to other users of the local machine (via commands such aspsorw). Use-pwfileinstead. π¨-1β Force use of SSH protocol version 1.-2β Force use of SSH protocol version 2.-ssh-connectionβ Force use of thebare ssh-connectionprotocol. This is only likely to be useful when connecting to apsusan(1)server, most likely with an absolute path to a Unix-domain socket in place ofhost.-sshβ Force use of the SSH protocol. (This is usually not needed; it's only likely to be useful if you need to override some other configuration of thebare ssh-connectionprotocol.)-4β Force use of IPv4 for network connections.-6β Force use of IPv6 for network connections.-Cβ Enable SSH compression.-i keyfileβ Private key file for user authentication. For SSH-2 keys, this key file must be in PuTTY's PPK format, not OpenSSH's format or anyone else's.
If you are using an authentication agent, you can also specify a public key here (in RFC 4716 or OpenSSH format), to identify which of the agent's keys to use.
-noagentβ Don't try to use an authentication agent.-agentβ Allow use of an authentication agent. (This option is only necessary to override a setting in a saved session.)-no-trivial-authβ Disconnect from any SSH server which accepts authentication without ever having asked for any kind of password or signature or token. (You might want to enable this for a server you always expect to challenge you, for instance to ensure you don't accidentally type your key file's passphrase into a compromised server spoofing PSFTP's passphrase prompt.)-hostkey keyβ Specify an acceptable host public key. This option may be specified multiple times; each key can be either a fingerprint (SHA256:AbCdE...,99:aa:bb:..., etc) or a base64-encoded blob in OpenSSH's one-line format.
Specifying this option overrides automated host key management; only the key(s) specified on the command-line will be accepted (unless a saved session also overrides host keys, in which case those will be added to), and the host key cache will not be written.
-sshlog logfileβ This option makespsftplog protocol details to a file. (Some of these may be sensitive, although by default an effort is made to suppress obvious passwords.)-sshloglogs decoded SSH packets and other events (those that-vwould print).-sshrawlog logfileβ This option also makespsftplog protocol details to a file. (Some of these may be sensitive, although by default an effort is made to suppress obvious passwords.)-sshrawlogadditionally logs the raw encrypted packet data.-logoverwriteβ If PSFTP is configured to write to a log file that already exists, discard the existing file.-logappendβ If PSFTP is configured to write to a log file that already exists, append new log data to the existing file.
π§ COMMANDS π§
For a list of commands available inside psftp, type help at the psftp> prompt. iykyk π
π MORE INFORMATION π
For more information on psftp it's probably best to go and look at the manual on the PuTTY web page:
https://www.chiark.greenend.org.uk/~sgtatham/putty/
π BUGS π
ngl, this man page isn't terribly complete. See the above web link for better documentation. π
π that's the page β brought to you by the PuTTY tool suite, dated 2004β03β24, and filed under psftp(1). byeee bestie β¨
π¦ where this page comes from
- alpine 3.24: putty-doc 0.84-r1 Β· MIT
- nixos 26.05: putty 0.84
- nixpkgs unstable: putty 0.85
- opensuse-leap 16.0: putty 0.85-bp160.1.1 Β· MIT
- opensuse-leap 16.0: putty 0.85-bp160.1.1 Β· MIT
- opensuse-leap 16.0: putty 0.85-bp160.1.1 Β· MIT
- opensuse-leap 16.0: putty 0.85-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms