diff options
Diffstat (limited to 'rtty.1')
-rw-r--r-- | rtty.1 | 34 |
1 files changed, 22 insertions, 12 deletions
@@ -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 |