X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=ssh_config;h=b9935085a2abc386f2e2f9cf60a17facb1569d3a;hb=b2a118a0ad79bcee7bd83925ac9df338d6087f2f;hp=a860b7d82a5f786d25eda9ac4ec61dec75df2a66;hpb=8ae7e0df86ae17702c1f83197d185f58878bb1fa;p=config%2Fdotfiles.git diff --git a/ssh_config b/ssh_config index a860b7d..b993508 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. @@ -110,10 +116,10 @@ Host * # prevents stale master connections. ControlPersist 10 -# Hash hosts in ~/.ssh/known_hosts to try to conceal the known hosts. Doesn't -# help if the ssh hosts are stored in the shell's history file or in this file -# as shortcut. - HashKnownHosts yes +# Don't hash any hosts in ~/.ssh/known_hosts. It doesn't help if the ssh hosts +# are stored in the shell's history file or in this file as shortcut so it's +# rather useless (default). + HashKnownHosts no # Don't permit running local commands (default). PermitLocalCommand no