From 2b29e812468ae2f33a4d37e2e280b7080f11ee86 Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Sat, 24 Feb 2024 18:36:32 +0000 Subject: Add simple dotfiles management playbook --- misc/dotfiles/ssh/config.j2 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 misc/dotfiles/ssh/config.j2 (limited to 'misc/dotfiles/ssh/config.j2') diff --git a/misc/dotfiles/ssh/config.j2 b/misc/dotfiles/ssh/config.j2 new file mode 100644 index 0000000..d56f1d0 --- /dev/null +++ b/misc/dotfiles/ssh/config.j2 @@ -0,0 +1,29 @@ +Host * + User d +{% if ansible_facts['os_family'] == "Darwin" %} + # macOS specific settings. + UseKeychain yes + AddKeysToAgent yes +{% endif %} + +Host gate + Hostname gate.ilvokhin.com + ForwardAgent yes + +Host sun + Hostname sun.ilvokhin.com + +Host mail + Hostname mail.ilvokhin.com + User root + +# Moscow machines behind NAT. +Host water + ProxyJump gate + Hostname 10.9.8.2 + ForwardAgent yes + +Host flame + ProxyJump gate + Hostname 10.9.9.2 + ForwardAgent yes -- cgit v1.2.3-70-g09d2