summary refs log tree commit diff
path: root/private_dot_ssh/private_config.tmpl
diff options
context:
space:
mode:
authorAlen <alen@dotfiles.xyz>2023-09-14 01:08:16 +0400
committerAlen <alen@dotfiles.xyz>2023-09-14 01:34:12 +0400
commit95489906e160ed78d25ffe665a46f674ffc8264a (patch)
tree3a72e38c041a5b889873e2b0b5ab24d244084795 /private_dot_ssh/private_config.tmpl
parentd00c86a97392043d66574b8c903f58c04db301ca (diff)
Add basic .ssh/config and .ssh/authorized_keys
Diffstat (limited to 'private_dot_ssh/private_config.tmpl')
-rw-r--r--private_dot_ssh/private_config.tmpl15
1 files changed, 15 insertions, 0 deletions
diff --git a/private_dot_ssh/private_config.tmpl b/private_dot_ssh/private_config.tmpl
new file mode 100644
index 0000000..d166a06
--- /dev/null
+++ b/private_dot_ssh/private_config.tmpl
@@ -0,0 +1,15 @@
+Host chaos.usbx.me chaos
+    HostName chaos.usbx.me
+    Port 22
+    User alen1
+
+Host *
+    User {{ .ssh.user }}
+    Port 22
+    IdentitiesOnly yes
+    ServerAliveCountMax 2147483
+    ServerAliveInterval 30
+    HashKnownHosts yes
+    ControlMaster auto
+    ControlPersist 60m  # yes
+    ControlPath ~/.ssh/control/%h-%C