Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mRemoteNG/PuTTYNG.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2021-09-28 20:04:15 +0300
committerSimon Tatham <anakin@pobox.com>2021-09-28 20:04:15 +0300
commit44ee7b9e765f7af80d94610c82dbad46c5932ca0 (patch)
tree92ed158c13e9af29df1b00d46fe3999a5e954c64 /psftp.c
parentd489c64f48d50a17e688edc9fee4973790f8aca7 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/psftp.c b/psftp.c
index 993a3e35..4dc60dc1 100644
--- a/psftp.c
+++ b/psftp.c
@@ -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");