aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--INTRO7
-rw-r--r--rtty.c2
2 files changed, 5 insertions, 4 deletions
diff --git a/INTRO b/INTRO
index db55883..788587c 100644
--- a/INTRO
+++ b/INTRO
@@ -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.
diff --git a/rtty.c b/rtty.c
index cc5e38f..6088dc7 100644
--- a/rtty.c
+++ b/rtty.c
@@ -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";