summaryrefslogtreecommitdiff
path: root/ssh_config.5
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2010-08-23 23:52:36 +0100
committerColin Watson <cjwatson@debian.org>2010-08-23 23:52:36 +0100
commit78799892cb1858927be02be9737c594052e3f910 (patch)
treeac3dc2e848ab9dc62fe4252e01e52c3d456f628f /ssh_config.5
parent3875951bb76a9ec62634ae4026c9cc885d933477 (diff)
parent31e30b835fd9695d3b6647cab4867001b092e28f (diff)
* New upstream release (http://www.openssh.com/txt/release-5.6):
- Added a ControlPersist option to ssh_config(5) that automatically starts a background ssh(1) multiplex master when connecting. This connection can stay alive indefinitely, or can be set to automatically close after a user-specified duration of inactivity (closes: #335697, #350898, #454787, #500573, #550262). - Support AuthorizedKeysFile, AuthorizedPrincipalsFile, HostbasedUsesNameFromPacketOnly, and PermitTunnel in sshd_config(5) Match blocks (closes: #549858). - sftp(1): fix ls in working directories that contain globbing characters in their pathnames (LP: #530714).
Diffstat (limited to 'ssh_config.5')
-rw-r--r--ssh_config.575
1 files changed, 53 insertions, 22 deletions
diff --git a/ssh_config.5 b/ssh_config.5
index 45496cfbc..2f0cd8c83 100644
--- a/ssh_config.5
+++ b/ssh_config.5
@@ -34,8 +34,8 @@
34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36.\" 36.\"
37.\" $OpenBSD: ssh_config.5,v 1.130 2010/03/26 01:06:13 dtucker Exp $ 37.\" $OpenBSD: ssh_config.5,v 1.138 2010/08/04 05:37:01 djm Exp $
38.Dd $Mdocdate: March 26 2010 $ 38.Dd $Mdocdate: August 4 2010 $
39.Dt SSH_CONFIG 5 39.Dt SSH_CONFIG 5
40.Os 40.Os
41.Sh NAME 41.Sh NAME
@@ -339,6 +339,28 @@ It is recommended that any
339used for opportunistic connection sharing include 339used for opportunistic connection sharing include
340at least %h, %p, and %r. 340at least %h, %p, and %r.
341This ensures that shared connections are uniquely identified. 341This ensures that shared connections are uniquely identified.
342.It Cm ControlPersist
343When used in conjunction with
344.Cm ControlMaster ,
345specifies that the master connection should remain open
346in the background (waiting for future client connections)
347after the initial client connection has been closed.
348If set to
349.Dq no ,
350then the master connection will not be placed into the background,
351and will close as soon as the initial client connection is closed.
352If set to
353.Dq yes ,
354then the master connection will remain in the background indefinitely
355(until killed or closed via a mechanism such as the
356.Xr ssh 1
357.Dq Fl O No exit
358option).
359If set to a time in seconds, or a time in any of the formats documented in
360.Xr sshd_config 5 ,
361then the backgrounded master connection will automatically terminate
362after it has remained idle (with no client connections) for the
363specified time.
342.It Cm DynamicForward 364.It Cm DynamicForward
343Specifies that a TCP port on the local machine be forwarded 365Specifies that a TCP port on the local machine be forwarded
344over the secure channel, and the application 366over the secure channel, and the application
@@ -349,9 +371,7 @@ The argument must be
349.Sm off 371.Sm off
350.Oo Ar bind_address : Oc Ar port . 372.Oo Ar bind_address : Oc Ar port .
351.Sm on 373.Sm on
352IPv6 addresses can be specified by enclosing addresses in square brackets or 374IPv6 addresses can be specified by enclosing addresses in square brackets.
353by using an alternative syntax:
354.Oo Ar bind_address Ns / Oc Ns Ar port .
355By default, the local port is bound in accordance with the 375By default, the local port is bound in accordance with the
356.Cm GatewayPorts 376.Cm GatewayPorts
357setting. 377setting.
@@ -452,6 +472,17 @@ An attacker may then be able to perform activities such as keystroke monitoring
452if the 472if the
453.Cm ForwardX11Trusted 473.Cm ForwardX11Trusted
454option is also enabled. 474option is also enabled.
475.It Cm ForwardX11Timeout
476Specify a timeout for untrusted X11 forwarding
477using the format described in the
478.Sx TIME FORMATS
479section of
480.Xr sshd_config 5 .
481X11 connections received by
482.Xr ssh 1
483after this time will be refused.
484The default is to disable untrusted X11 forwarding after twenty minutes has
485elapsed.
455.It Cm ForwardX11Trusted 486.It Cm ForwardX11Trusted
456If this option is set to 487If this option is set to
457.Dq yes , 488.Dq yes ,
@@ -577,6 +608,10 @@ or for multiple servers running on a single host.
577.It Cm HostName 608.It Cm HostName
578Specifies the real host name to log into. 609Specifies the real host name to log into.
579This can be used to specify nicknames or abbreviations for hosts. 610This can be used to specify nicknames or abbreviations for hosts.
611If the hostname contains the character sequence
612.Ql %h ,
613then this will be replaced with the host name specified on the commandline
614(this is useful for manipulating unqualified names).
580The default is the name given on the command line. 615The default is the name given on the command line.
581Numeric IP addresses are also permitted (both on the command line and in 616Numeric IP addresses are also permitted (both on the command line and in
582.Cm HostName 617.Cm HostName
@@ -692,11 +727,7 @@ The first argument must be
692.Sm on 727.Sm on
693and the second argument must be 728and the second argument must be
694.Ar host : Ns Ar hostport . 729.Ar host : Ns Ar hostport .
695IPv6 addresses can be specified by enclosing addresses in square brackets or 730IPv6 addresses can be specified by enclosing addresses in square brackets.
696by using an alternative syntax:
697.Oo Ar bind_address Ns / Oc Ns Ar port
698and
699.Ar host Ns / Ns Ar hostport .
700Multiple forwardings may be specified, and additional forwardings can be 731Multiple forwardings may be specified, and additional forwardings can be
701given on the command line. 732given on the command line.
702Only the superuser can forward privileged ports. 733Only the superuser can forward privileged ports.
@@ -783,10 +814,12 @@ authentication methods.
783This allows a client to prefer one method (e.g.\& 814This allows a client to prefer one method (e.g.\&
784.Cm keyboard-interactive ) 815.Cm keyboard-interactive )
785over another method (e.g.\& 816over another method (e.g.\&
786.Cm password ) 817.Cm password ) .
787The default for this option is: 818The default is:
788.Do gssapi-with-mic,hostbased,publickey,keyboard-interactive,password 819.Bd -literal -offset indent
789.Dc . 820gssapi-with-mic,hostbased,publickey,
821keyboard-interactive,password
822.Ed
790.It Cm Protocol 823.It Cm Protocol
791Specifies the protocol versions 824Specifies the protocol versions
792.Xr ssh 1 825.Xr ssh 1
@@ -808,12 +841,14 @@ Specifies the command to use to connect to the server.
808The command 841The command
809string extends to the end of the line, and is executed with 842string extends to the end of the line, and is executed with
810the user's shell. 843the user's shell.
811In the command string, 844In the command string, any occurrence of
812.Ql %h 845.Ql %h
813will be substituted by the host name to 846will be substituted by the host name to
814connect and 847connect,
815.Ql %p 848.Ql %p
816by the port. 849by the port, and
850.Ql %r
851by the remote user name.
817The command can be basically anything, 852The command can be basically anything,
818and should read from its standard input and write to its standard output. 853and should read from its standard input and write to its standard output.
819It should eventually connect an 854It should eventually connect an
@@ -872,11 +907,7 @@ The first argument must be
872.Sm on 907.Sm on
873and the second argument must be 908and the second argument must be
874.Ar host : Ns Ar hostport . 909.Ar host : Ns Ar hostport .
875IPv6 addresses can be specified by enclosing addresses in square brackets 910IPv6 addresses can be specified by enclosing addresses in square brackets.
876or by using an alternative syntax:
877.Oo Ar bind_address Ns / Oc Ns Ar port
878and
879.Ar host Ns / Ns Ar hostport .
880Multiple forwardings may be specified, and additional 911Multiple forwardings may be specified, and additional
881forwardings can be given on the command line. 912forwardings can be given on the command line.
882Privileged ports can be forwarded only when 913Privileged ports can be forwarded only when