diff options
Diffstat (limited to '.ssh/config')
-rw-r--r-- | .ssh/config | 49 |
1 files changed, 21 insertions, 28 deletions
diff --git a/.ssh/config b/.ssh/config index 4c6428c..c786305 100644 --- a/.ssh/config +++ b/.ssh/config | |||
@@ -1,48 +1,41 @@ | |||
1 | # vim:ft=sshconfig: | 1 | # vim:ft=sshconfig: |
2 | 2 | ||
3 | VerifyHostKeyDNS yes | ||
4 | ServerAliveInterval 60 | 3 | ServerAliveInterval 60 |
5 | ConnectTimeout 10 | 4 | ConnectTimeout 10 |
6 | ConnectionAttempts 10 | 5 | ConnectionAttempts 10 |
7 | HashKnownHosts yes | 6 | HashKnownHosts yes |
8 | 7 | ||
9 | # Allow SSH-RSA keys for now | 8 | # Don't offer all agent identities to each host. Requires a matching |
9 | # Host with one or more IdentityFile options specified. These can be | ||
10 | # a private key or a public key that the agent holds. | ||
11 | IdentitiesOnly yes | ||
12 | |||
13 | # Allow SSH-RSA keys for now since so many things (especially network | ||
14 | # and datacenter gear) still want them and Fedora has disabled them by | ||
15 | # default. | ||
10 | PubkeyAcceptedKeyTypes +ssh-rsa | 16 | PubkeyAcceptedKeyTypes +ssh-rsa |
17 | HostKeyAlgorithms +ssh-rsa | ||
18 | |||
19 | # Would be nice to one day publish public keys in DNS, but for now this | ||
20 | # just slows down connections and most hosts aren't published. | ||
21 | #VerifyHostKeyDNS yes | ||
11 | 22 | ||
12 | Host *.crute.me, !code.crute.me, mcrute-virt | 23 | Host !code.crute.me !code.crute.us *.crute.me mcrute-virt |
13 | User mcrute | 24 | User mcrute |
14 | ForwardAgent yes | 25 | ForwardAgent yes |
15 | DynamicForward 9999 | 26 | DynamicForward 9999 |
27 | IdentityFile ~/.ssh/id_rsa.home.pub | ||
16 | # Tab Opener | 28 | # Tab Opener |
17 | RemoteForward *:1424 localhost:1424 | 29 | RemoteForward *:1424 localhost:1424 |
18 | # Music Ports | 30 | # Music Ports |
19 | RemoteForward 1234 localhost:1234 | 31 | RemoteForward 1234 localhost:1234 |
20 | RemoteForward 1235 localhost:1235 | 32 | RemoteForward 1235 localhost:1235 |
21 | 33 | ||
22 | Host mcrute-virt.sea1.crute.me | 34 | Host code.crute.me code.crute.us |
23 | User mcrute | 35 | IdentityFile ~/.ssh/id_rsa.home.pub |
24 | ForwardAgent yes | ||
25 | DynamicForward 9999 | ||
26 | # Tab Opener | ||
27 | RemoteForward *:1424 localhost:1424 | ||
28 | |||
29 | Host mcrute-virt.eu-west-2.crute.me | ||
30 | User mcrute | ||
31 | ForwardAgent yes | ||
32 | DynamicForward 9999 | ||
33 | # Tab Opener | ||
34 | RemoteForward *:1424 localhost:1424 | ||
35 | |||
36 | Host mcrute-virt.ext.eu-west-2.crute.me | ||
37 | Hostname 172.16.75r28 | ||
38 | User mcrute | ||
39 | ForwardAgent yes | ||
40 | ProxyCommand ssh -p 4321 -W %h:%p vpn-1.ext.eu-west-2.crute.me | ||
41 | 36 | ||
42 | Host git-codecommit.*.amazonaws.com | 37 | Host github.com |
43 | User APKAJUVKIAJDACBHNR2Q | 38 | IdentityFile ~/.ssh/id_rsa.home.pub |
44 | IdentityFile ~/.ssh/id_rsa.home | ||
45 | 39 | ||
46 | Host ext.code.crute.me | 40 | Host gitlab.alpinelinux.org |
47 | Hostname code.crute.me | 41 | IdentityFile ~/.ssh/id_rsa.home.pub |
48 | ProxyCommand ssh -F ~/.ssh/home -p 4321 -W %h:%p gateway-1.us-west-2.crute.me | ||