aboutsummaryrefslogtreecommitdiff
path: root/rtty.1
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-15 13:39:10 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-15 13:39:22 +0200
commit668bd8418f5886b1e449381057e4f2849b200562 (patch)
tree0b97a8a1d5cadda1d21fe95f1873b5d2eb9cc044 /rtty.1
parent0c91ed54db29d1d5628b6473ef4387dde1b3c116 (diff)
downloadrtty-668bd8418f5886b1e449381057e4f2849b200562.tar.gz
Add +d (detect password prompt) flag
Also, rename -P flag to +p.
Diffstat (limited to 'rtty.1')
-rw-r--r--rtty.134
1 files changed, 22 insertions, 12 deletions
diff --git a/rtty.1 b/rtty.1
index c6ee571..7fc2fee 100644
--- a/rtty.1
+++ b/rtty.1
@@ -6,7 +6,7 @@
.Nd limited but responsive remote shell
.Sh SYNOPSIS
.Nm
-.Op Fl P
+.Op Sy +dp
.Op Ar ...
.Sh DESCRIPTION
.Pp
@@ -15,7 +15,7 @@ is a wrapper around
.Xr ssh 1
that provides a remote shell as responsive as
.Xr mosh 1
-and as limited as a traditional teletypewriter.
+and as limited as a hard-copy teletypewriter.
It is a very useful tool on slow connections.
As
.Nm
@@ -23,21 +23,31 @@ uses the default line-editing capabilities of the terminal,
user input is only sent to the remote server
once a full line has been input.
.Pp
+Flags specific to
+.Nm
+are prefixed with a plus sign.
If the
-.Fl P
+.Sy +d
flag is provided,
.Nm
-will manually ask the user for a password and run
-.Xr ssh 1
-using
-.Xr sshpass 1 .
-Otherwise,
+tries to detect password prompts from the remote server
+and hide the user's input.
+If the
+.Sy +p
+flag is provided,
+.Nm
+manually asks the user for a password
+before connecting to the server.
+This requires
+.Xr sshpass 1
+to be installed.
+Without the
+.Sy +p
+flag,
.Xr ssh 1
-is launched in batch mode,
-without the possibility of interactive password entry.
+is launched in batch mode.
.Pp
-All arguments except
-.Fl P
+All other arguments
are passed to
.Xr ssh 1 .
.Sh AUTHORS