From d8d48508bd4ed780fec896a94e837c6d495c7244 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Fri, 22 May 2020 14:27:46 +0300 Subject: [PATCH] ssh_config: update comments, add Includes Resolves: #69 --- etc/ssh/ssh_config | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/etc/ssh/ssh_config b/etc/ssh/ssh_config index 03cf1747..6f7667d2 100644 --- a/etc/ssh/ssh_config +++ b/etc/ssh/ssh_config @@ -1,6 +1,10 @@ -# /etc/ssh/ssh_config - at least the Arch default was full of comments -# so I think it makes more sense if I just paste my normal config here -# without host specific options. +# This works as a /etc/ssh/ssh_config or ~/.ssh/config like how I keep +# using it. Higher option takes priority (keep `Host *` bottom) + +# User specific configs +Include ~/.ssh/config.d/*.conf +# Debian includes this +Include /etc/ssh/ssh_config.d/*.conf Host * # Path for the control socket. @@ -14,6 +18,9 @@ Host * ForwardAgent no ForwardX11 no + # Debian sets this as yes, upstream no. TODO: What is it? + #GSSAPIAuthentication yes + # Ensure KnownHosts are unreadable if leaked. HashKnownHosts yes