From 841e6b70e72a8a33c9445f8a8680afa0ac6391b7 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 22 Mar 2014 19:02:01 +0100 Subject: [PATCH] ssh_config: clarify option parsing description --- ssh_config | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/ssh_config b/ssh_config index a860b7d..e4096fa 100644 --- a/ssh_config +++ b/ssh_config @@ -26,10 +26,16 @@ # ServerAliveInterval 5 -# Global options which overwrite other host-local options must be at end or -# the host-local options are ignored, thanks to anonJD in #openssh on Freenode -# (2011-05-18 21:40 CEST) for letting me know. Therefore put all affected host -# specific rules here, before the global rules. +# Options are parsed top-to-bottom, the first matching option is used. Later +# assignments to the same option are ignored, thanks to anonJD in #openssh on +# Freenode (2011-05-18 21:40 CEST) for letting me know. Therefore put all +# affected host specific rules here, before the global rules. +# +# For example to change the MACs option for a specific host, use: +# +# Host host +# # Old SSH daemon which needs SHA1 (SHA-512 in case it gets updated). +# MACs hmac-sha2-512,hmac-sha1 # Rules for all hosts. -- 2.44.1