diff options
author | Simon Tatham <anakin@pobox.com> | 2021-09-28 20:04:15 +0300 |
---|---|---|
committer | Simon Tatham <anakin@pobox.com> | 2021-09-28 20:04:15 +0300 |
commit | 44ee7b9e765f7af80d94610c82dbad46c5932ca0 (patch) | |
tree | 92ed158c13e9af29df1b00d46fe3999a5e954c64 /psftp.c | |
parent | d489c64f48d50a17e688edc9fee4973790f8aca7 (diff) |
Add -pwfile option, a more secure version of -pw.
Similarly to cmdgen's passphrase options, this replaces the password
on the command line with a filename to read the password out of, which
means it can't show up in 'ps' or the Windows task manager.
Diffstat (limited to 'psftp.c')
-rw-r--r-- | psftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2535,7 +2535,7 @@ static void usage(void) printf(" -load sessname Load settings from saved session\n"); printf(" -l user connect with specified username\n"); printf(" -P port connect to specified port\n"); - printf(" -pw passw login with specified password\n"); + printf(" -pwfile file login with password read from specified file\n"); printf(" -1 -2 force use of particular SSH protocol version\n"); printf(" -ssh -ssh-connection\n"); printf(" force use of particular SSH protocol variant\n"); |