From 89fe22c281e98609b03f1c75c92c57fe2f683382 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 18 Mar 2023 10:29:50 -0300 Subject: etc/ssh/config.tmpl: Proper placement of the "Include" directive From [0]: > In other words the Include directive must go to the top of the > config file (before the "body" made of Host blocks) [0]: https://superuser.com/questions/1162387/whats-wrong-with-my-openssh-include-directive --- etc/ssh/config.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/ssh') diff --git a/etc/ssh/config.tmpl b/etc/ssh/config.tmpl index c811977..ad5b9fe 100644 --- a/etc/ssh/config.tmpl +++ b/etc/ssh/config.tmpl @@ -1,3 +1,5 @@ +Include ${XDG_DATA_HOME}/vm/ssh.conf + Host * ServerAliveInterval 30 ServerAliveCountMax 20 @@ -15,5 +17,3 @@ Host suyin Host zhu-li HostName hk-s020.rsync.net User 20931 - -Include ${XDG_DATA_HOME}/vm/ssh.conf -- cgit v1.2.3