aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-18 10:29:50 -0300
committerEuAndreh <eu@euandre.org>2023-03-18 10:30:14 -0300
commit89fe22c281e98609b03f1c75c92c57fe2f683382 (patch)
tree6d2a2738ed2a4cf0d4b4ed93b7b54afbfb6b84e0 /etc
parentetc/guix/home.scm: Simpler scheduling time of cronjobs (diff)
downloaddotfiles-89fe22c281e98609b03f1c75c92c57fe2f683382.tar.gz
dotfiles-89fe22c281e98609b03f1c75c92c57fe2f683382.tar.xz
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
Diffstat (limited to 'etc')
-rw-r--r--etc/ssh/config.tmpl4
1 files changed, 2 insertions, 2 deletions
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