diff options
author | John Ankarström <john@ankarstrom.se> | 2021-07-14 23:43:09 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-07-14 23:43:09 +0200 |
commit | 2fd0c583436f6a38692a125b4f8eb2b2e9e9a046 (patch) | |
tree | 9788e660de0bfb629dd6fcda32607f5b1deb80d6 | |
parent | 92d63efb7087b24910dee2e44f0fed51895e4fd9 (diff) | |
download | rtty-2fd0c583436f6a38692a125b4f8eb2b2e9e9a046.tar.gz |
Use -Pass option for sshpass
-rw-r--r-- | INTRO | 7 | ||||
-rw-r--r-- | rtty.c | 2 |
2 files changed, 5 insertions, 4 deletions
@@ -25,6 +25,7 @@ flag, expecting a password to be set in the SSHPASS environment variable. If you often need to log into remote servers without public key -authentication, consider compiling a special version of rtty -- I -suggest the name rttyp -- and installing it alongside the normal -version of rtty. +authentication, or if you cannot use ssh-agent(1) to avoid entering +your key's passphrase interactively, consider compiling a special +version of rtty -- I suggest the name rttyp -- and installing it +alongside the normal version of rtty. @@ -49,7 +49,7 @@ main(int argc, char *argv[]) offset = -1; #ifdef SSHPASS nargv[++offset] = "sshpass"; - nargv[++offset] = "-e"; + nargv[++offset] = "-ePass"; #endif nargv[++offset] = "ssh"; nargv[++offset] = "-tt"; |