psftp --version (return code: 0)
psftp: Release 0.70
Build platform: 64-bit Unix
Compiler: gcc 6.4.0 20170704
Source commit: 3cd10509a51edf5a21cdc80aabf7e6a934522d47
psftp -HELP (return code: 1)
PuTTY Secure File Transfer (SFTP) client
Release 0.70
Usage: psftp [options] [user@]host
Options:
-V print version information and exit
-pgpfp print PGP key fingerprints and exit
-b file use specified batchfile
-bc output batchfile commands
-be don't stop batchfile processing if errors
-v show verbose messages
-load sessname Load settings from saved session
-l user connect with specified username
-P port connect to specified port
-pw passw login with specified password
-1 -2 force use of particular SSH protocol version
-4 -6 force use of IPv4 or IPv6
-C enable compression
-i key private key file for user authentication
-noagent disable use of Pageant
-agent enable use of Pageant
-hostkey aa:bb:cc:...
manually specify a host key (may be repeated)
-batch disable all interactive prompts
-proxycmd command
use 'command' as local proxy
-sshlog file
-sshrawlog file
log protocol details to a file