From 95489906e160ed78d25ffe665a46f674ffc8264a Mon Sep 17 00:00:00 2001 From: Alen Date: Thu, 14 Sep 2023 01:08:16 +0400 Subject: Add basic .ssh/config and .ssh/authorized_keys --- private_dot_ssh/private_config.tmpl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 private_dot_ssh/private_config.tmpl (limited to 'private_dot_ssh/private_config.tmpl') 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 -- cgit 1.4.1-2-gfad0