summaryrefslogtreecommitdiff
path: root/ssh_config.5
diff options
context:
space:
mode:
Diffstat (limited to 'ssh_config.5')
-rw-r--r--ssh_config.524
1 files changed, 21 insertions, 3 deletions
diff --git a/ssh_config.5 b/ssh_config.5
index c99678f6f..3e9524dcc 100644
--- a/ssh_config.5
+++ b/ssh_config.5
@@ -33,8 +33,8 @@
33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35.\" 35.\"
36.\" $OpenBSD: ssh_config.5,v 1.174 2013/10/16 22:58:01 djm Exp $ 36.\" $OpenBSD: ssh_config.5,v 1.175 2013/10/20 04:39:28 djm Exp $
37.Dd $Mdocdate: October 16 2013 $ 37.Dd $Mdocdate: October 20 2013 $
38.Dt SSH_CONFIG 5 38.Dt SSH_CONFIG 5
39.Os 39.Os
40.Sh NAME 40.Sh NAME
@@ -148,6 +148,24 @@ The criteria for the
148keyword is a path to a command that is executed. 148keyword is a path to a command that is executed.
149If the command returns a zero exit status then the condition is considered true. 149If the command returns a zero exit status then the condition is considered true.
150Commands containing whitespace characters must be quoted. 150Commands containing whitespace characters must be quoted.
151The following character sequences in the command will be expanded prior to
152execution:
153.Ql %L
154will be substituted by the first component of the local host name,
155.Ql %l
156will be substituted by the local host name (including any domain name),
157.Ql %h
158will be substituted by the target host name,
159.Ql %n
160will be substituted by the original target host name
161specified on the command line,
162.Ql %p
163the destination port,
164.Ql %r
165by the remote login username, and
166.Ql %u
167by the username of the user running
168.Xr ssh 1 .
151.Pp 169.Pp
152The other keywords' criteria must be single entries or comma-separated 170The other keywords' criteria must be single entries or comma-separated
153lists and may use the wildcard and negation operators described in the 171lists and may use the wildcard and negation operators described in the
@@ -444,7 +462,7 @@ will be substituted by the target host name,
444will be substituted by the original target host name 462will be substituted by the original target host name
445specified on the command line, 463specified on the command line,
446.Ql %p 464.Ql %p
447the port, 465the destination port,
448.Ql %r 466.Ql %r
449by the remote login username, and 467by the remote login username, and
450.Ql %u 468.Ql %u