ssh(1): document -T tries option, #subsys cmd behaviour
This commit is contained in:
parent
710d4982b7
commit
414d29e98f
1 changed files with 32 additions and 14 deletions
|
@ -11,6 +11,9 @@ ssh - secure shell remote login client
|
||||||
.B -t
|
.B -t
|
||||||
.I thumbfile
|
.I thumbfile
|
||||||
] [
|
] [
|
||||||
|
.B -T
|
||||||
|
.I tries
|
||||||
|
] [
|
||||||
.B -u
|
.B -u
|
||||||
.I user
|
.I user
|
||||||
] [
|
] [
|
||||||
|
@ -47,26 +50,31 @@ location can be changed with the
|
||||||
.B -t
|
.B -t
|
||||||
option.
|
option.
|
||||||
.PP
|
.PP
|
||||||
When no
|
When
|
||||||
.I cmd
|
.I cmd
|
||||||
is specified then ssh starts a shell on the
|
is specified, it is concatenated with the list of quoted
|
||||||
remote side.
|
.I args
|
||||||
|
and run on the remote side. No pseudo terminal will be requested.
|
||||||
|
A
|
||||||
|
.I cmd
|
||||||
|
beginning with
|
||||||
|
.B #
|
||||||
|
is interpreted as a subsystem name such as sftp (see
|
||||||
|
.IR sshfs (4)).
|
||||||
.PP
|
.PP
|
||||||
If the
|
Without
|
||||||
|
.IR cmd ,
|
||||||
|
a shell is started on the remote side.
|
||||||
|
When the
|
||||||
.B $TERM
|
.B $TERM
|
||||||
environment variable is set then a pseudo terminal
|
environment variable is set (such as when started under
|
||||||
will be requested for the shell.
|
a terminal emulator like
|
||||||
|
.IR vt (1)),
|
||||||
|
a pseudo terminal will be requested for the shell.
|
||||||
This can be disabled with the
|
This can be disabled with the
|
||||||
.B -R
|
.B -R
|
||||||
option.
|
option.
|
||||||
.PP
|
.PP
|
||||||
If
|
|
||||||
.I keyboard-interactive
|
|
||||||
authentication fails, by default it is retried three times.
|
|
||||||
The number of tries can be changed with
|
|
||||||
.BR -T .
|
|
||||||
Setting it to zero disables keyboard-interactive authentication.
|
|
||||||
.PP
|
|
||||||
The
|
The
|
||||||
.B -d
|
.B -d
|
||||||
option enables debug output.
|
option enables debug output.
|
||||||
|
@ -77,8 +85,18 @@ option enables debug output.
|
||||||
the user's thumbfile of known host fingerprints
|
the user's thumbfile of known host fingerprints
|
||||||
.SH SOURCE
|
.SH SOURCE
|
||||||
.B /sys/src/cmd/ssh.c
|
.B /sys/src/cmd/ssh.c
|
||||||
|
.SH BUGS
|
||||||
|
If
|
||||||
|
.I keyboard-interactive
|
||||||
|
authentication fails, by default it is retried three times.
|
||||||
|
The number of
|
||||||
|
.I tries
|
||||||
|
can be changed with
|
||||||
|
.BR -T .
|
||||||
|
Setting it to zero disables keyboard-interactive authentication.
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.IR vt (1),
|
.IR vt (1),
|
||||||
.IR rsa (8),
|
.IR rsa (8),
|
||||||
.IR thumbprint (6),
|
.IR thumbprint (6),
|
||||||
.IR factotum (4)
|
.IR factotum (4),
|
||||||
|
.IR sshfs (4)
|
||||||
|
|
Loading…
Reference in a new issue