diff options
author | Mike Crute <mike@crute.us> | 2023-02-28 09:39:11 -0800 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2023-02-28 09:39:11 -0800 |
commit | baadda631c06da5e292471d7f45e36ca20d6e64e (patch) | |
tree | 7520a44a1c36a26543e1bb188fd6d8573c619ca7 | |
parent | 696a17f13fb8392b541e338d82c3bb907f2466b5 (diff) | |
download | dotfiles-baadda631c06da5e292471d7f45e36ca20d6e64e.tar.bz2 dotfiles-baadda631c06da5e292471d7f45e36ca20d6e64e.tar.xz dotfiles-baadda631c06da5e292471d7f45e36ca20d6e64e.zip |
Cleanup ssh config
-rw-r--r-- | .ssh/config | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.ssh/config b/.ssh/config index c786305..c4afd33 100644 --- a/.ssh/config +++ b/.ssh/config | |||
@@ -20,7 +20,7 @@ HostKeyAlgorithms +ssh-rsa | |||
20 | # just slows down connections and most hosts aren't published. | 20 | # just slows down connections and most hosts aren't published. |
21 | #VerifyHostKeyDNS yes | 21 | #VerifyHostKeyDNS yes |
22 | 22 | ||
23 | Host !code.crute.me !code.crute.us *.crute.me mcrute-virt | 23 | Host mcrute-virt mcrute-virt.sea1.crute.me |
24 | User mcrute | 24 | User mcrute |
25 | ForwardAgent yes | 25 | ForwardAgent yes |
26 | DynamicForward 9999 | 26 | DynamicForward 9999 |
@@ -31,7 +31,11 @@ Host !code.crute.me !code.crute.us *.crute.me mcrute-virt | |||
31 | RemoteForward 1234 localhost:1234 | 31 | RemoteForward 1234 localhost:1234 |
32 | RemoteForward 1235 localhost:1235 | 32 | RemoteForward 1235 localhost:1235 |
33 | 33 | ||
34 | Host code.crute.me code.crute.us | 34 | Host *.crute.me *.crute.us *.as398223.net |
35 | IdentityFile ~/.ssh/id_rsa.home.pub | ||
36 | |||
37 | # Match 172.16.0.0/12 | ||
38 | Host 172.16.* 172.17.* 172.18.* 172.19.* 172.2?.* 172.30.* 172.31.* | ||
35 | IdentityFile ~/.ssh/id_rsa.home.pub | 39 | IdentityFile ~/.ssh/id_rsa.home.pub |
36 | 40 | ||
37 | Host github.com | 41 | Host github.com |