From 38bab29776950ac2364ed64195b89887717c33de Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Thu, 1 Jan 1970 03:00:00 +0300 Subject: chore: init --- ssh/.ssh/config | 17 +++++++++++++++++ ssh/@install | 10 ++++++++++ 2 files changed, 27 insertions(+) create mode 100644 ssh/.ssh/config create mode 100755 ssh/@install (limited to 'ssh') diff --git a/ssh/.ssh/config b/ssh/.ssh/config new file mode 100644 index 0000000..9ea4651 --- /dev/null +++ b/ssh/.ssh/config @@ -0,0 +1,17 @@ +Host * + Compression yes + ControlMaster auto + ControlPath ~/.ssh/%r@%h:%p + ControlPersist 24H + ForwardAgent no + ForwardX11 no + ForwardX11Trusted no + HashKnownHosts yes + IdentityFile ~/.ssh/azahi_ed25519 + ServerAliveCountMax 30 + ServerAliveInterval 60 + TCPKeepAlive yes + +Include hosts + +# vim: filetype=sshconfig diff --git a/ssh/@install b/ssh/@install new file mode 100755 index 0000000..fde0f3f --- /dev/null +++ b/ssh/@install @@ -0,0 +1,10 @@ +#!/bin/sh + +[ ! -d "${HOME}/.ssh" ] && \ + mkdir -p "${HOME}/.ssh" + +stow \ + --target="${HOME}" \ + --ignore="^@.*" \ + --verbose \ + ssh -- cgit 1.4.1