aboutsummaryrefslogtreecommitdiff
path: root/etc/ssh/config.tmpl
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-10-31 20:22:43 -0300
committerEuAndreh <eu@euandre.org>2022-10-31 20:23:47 -0300
commit251a766b0f81c1569873ec4cb536428e08b16ed7 (patch)
treeb4de07f58b1c862de2afd1ee1d2d1c32c35ab621 /etc/ssh/config.tmpl
parentbin/check: Use $XDG_PREFIX over hard-coding ~/.usr/ (diff)
downloaddotfiles-251a766b0f81c1569873ec4cb536428e08b16ed7.tar.gz
dotfiles-251a766b0f81c1569873ec4cb536428e08b16ed7.tar.xz
etc/ssh/config: Generate with envsubst
So that the `Include` can also point to a variable.
Diffstat (limited to 'etc/ssh/config.tmpl')
-rw-r--r--etc/ssh/config.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/ssh/config.tmpl b/etc/ssh/config.tmpl
new file mode 100644
index 0000000..fd4b8a3
--- /dev/null
+++ b/etc/ssh/config.tmpl
@@ -0,0 +1,6 @@
+Host *
+ UserKnownHostsFile ${XDG_CONFIG_HOME}/ssh/known_hosts
+
+Include ~/dev/libre/servers/src/infrastructure/ssh.conf
+Include ~/dev/others/lawtech/src/infrastructure/ssh.conf
+Include ${XDG_DATA_HOME}/euandreh/vm-ssh.conf