aboutsummaryrefslogtreecommitdiff
path: root/rtty.1
diff options
context:
space:
mode:
Diffstat (limited to 'rtty.1')
-rw-r--r--rtty.124
1 files changed, 17 insertions, 7 deletions
diff --git a/rtty.1 b/rtty.1
index 21c2dd4..7f91f29 100644
--- a/rtty.1
+++ b/rtty.1
@@ -6,6 +6,7 @@
.Nd limited but responsive remote shell
.Sh SYNOPSIS
.Nm
+.Op Fl P
.Op Ar ...
.Sh DESCRIPTION
.Pp
@@ -22,7 +23,22 @@ 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
-All arguments are passed to
+If the
+.Fl P
+flag is provided,
+.Nm
+will manually ask the user for a password and run
+.Xr ssh 1
+using
+.Xr sshpass 1 .
+Otherwise,
+.Xr ssh 1
+is launched in batch mode,
+without the possibility of interactive password entry.
+.Pp
+All arguments except
+.Fl P
+are passed to
.Xr ssh 1 .
.Sh AUTHORS
.Pp
@@ -32,12 +48,6 @@ is written by John Ankarström
.Sh BUGS
.Pp
.Nm
-does not support interactive password input;
-it is recommended that public key authentication be used,
-in combination with
-.Xr ssh-agent 1 .
-.Pp
-.Nm
exits immediately on SIGINT;
it is best used in conjunction with
.Xr dtach 1