From: Simon Ruderich Date: Sat, 22 Mar 2014 18:02:01 +0000 (+0100) Subject: ssh_config: clarify option parsing description X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=841e6b70e72a8a33c9445f8a8680afa0ac6391b7 ssh_config: clarify option parsing description --- 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.