]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/man/1/ssh
/sys/man/*/*: fix perms (sorry)
[plan9front.git] / sys / man / 1 / ssh
index f8c86bff266ce22eb27eaef478b2528b7253ea3d..f2e376e828ddb80b5c64741f0b33b75dec9ed490 100644 (file)
@@ -11,9 +11,14 @@ ssh - secure shell remote login client
 .B -t
 .I thumbfile
 ] [
+.B -T
+.I tries
+] [
 .B -u
 .I user
 ] [
+.B -h
+] [
 .IR user @] host
 [
 .I cmd
@@ -47,15 +52,27 @@ location can be changed with the
 .B -t
 option.
 .PP
-When no
+When
+.I cmd
+is specified, it is concatenated with the list of quoted
+.I args
+and run on the remote side. No pseudo terminal will be requested.
+A
 .I cmd
-is specified then ssh starts a shell on the
-remote side.
+beginning with
+.B #
+is interpreted as a subsystem name such as sftp (see
+.IR sshfs (4)).
 .PP
-If the
+Without
+.IR cmd ,
+a shell is started on the remote side.
+When the
 .B $TERM
-environment variable is set then a pseudo terminal
-will be requested for the shell.
+environment variable is set (such as when started under
+a terminal emulator like
+.IR vt (1)),
+a pseudo terminal will be requested for the shell.
 This can be disabled with the
 .B -R
 option.
@@ -70,8 +87,18 @@ option enables debug output.
 the user's thumbfile of known host fingerprints
 .SH SOURCE
 .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"
 .IR vt (1),
 .IR rsa (8),
 .IR thumbprint (6),
-.IR factotum (4)
+.IR factotum (4),
+.IR sshfs (4)