mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
ssh(1): fix usage and document -X flag
This commit is contained in:
parent
24fa514abe
commit
3bbff3ee20
2 changed files with 15 additions and 9 deletions
|
@ -4,11 +4,7 @@ ssh - secure shell remote login client
|
|||
.SH SYNOPSIS
|
||||
.B ssh
|
||||
[
|
||||
.B -d
|
||||
] [
|
||||
.B -R
|
||||
] [
|
||||
.B -r
|
||||
.B -drRX
|
||||
] [
|
||||
.B -t
|
||||
.I thumbfile
|
||||
|
@ -80,11 +76,11 @@ a terminal emulator like
|
|||
a pseudo terminal will be requested for the shell.
|
||||
This can be disabled with the
|
||||
.B -R
|
||||
option.
|
||||
flag.
|
||||
A pseudo-terminal can be requested in all cases
|
||||
with the
|
||||
.B -r
|
||||
option.
|
||||
flag.
|
||||
.PP
|
||||
With the
|
||||
.B -W
|
||||
|
@ -98,7 +94,17 @@ programs, see
|
|||
.PP
|
||||
The
|
||||
.B -d
|
||||
option enables debug output.
|
||||
flag enables debug output.
|
||||
.PP
|
||||
The
|
||||
.B -X
|
||||
flag enables mux mode, which after establishing
|
||||
the tunnel, relies the raw SSH protocol
|
||||
messages on file-descriptor 0 and 1.
|
||||
This is used by programs such as
|
||||
.IR sshnet (4)
|
||||
and
|
||||
.IR sshfs (4).
|
||||
.SH FILES
|
||||
.TF $home/lib/sshthumbs
|
||||
.TP
|
||||
|
|
|
@ -1171,7 +1171,7 @@ kfmt(Fmt *f)
|
|||
void
|
||||
usage(void)
|
||||
{
|
||||
fprint(2, "usage: %s [-dR] [-t thumbfile] [-T tries] [-u user] [-h] [user@]host [-W remote!port] [cmd args...]\n", argv0);
|
||||
fprint(2, "usage: %s [-drRX] [-t thumbfile] [-T tries] [-u user] [-h] [user@]host [-W remote!port] [cmd args...]\n", argv0);
|
||||
exits("usage");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue