diff options
Diffstat (limited to '')
-rw-r--r-- | ssh/.ssh/config | 17 | ||||
-rwxr-xr-x | ssh/@install | 10 |
2 files changed, 27 insertions, 0 deletions
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 |