| 1 |
Host * |
| 2 |
AddKeysToAgent yes |
| 3 |
IdentityFile ~/.ssh/id_rsa |
| 4 |
|
| 5 |
Host sshfoo-01 |
| 6 |
User user-foo-from-ssh-config-01 |
| 7 |
HostName host-foo-from-ssh-config-01.com |
| 8 |
Port 3001 |
| 9 |
|
| 10 |
Host sshfoo-02 |
| 11 |
User user-foo-from-ssh-config-02 |
| 12 |
HostName host-foo-from-ssh-config-02.com |
| 13 |
Port 3002 |
| 14 |
|
| 15 |
# This one must be ignored by our code |
| 16 |
Host sshfoo-* |
| 17 |
User someuser |
| 18 |
HostName somehost |
| 19 |
Port 3000 |
| 20 |
|
| 21 |
Host sshbar-01 |
| 22 |
User user-bar-from-ssh-config-01 |
| 23 |
HostName host-bar-from-ssh-config-01.com |
| 24 |
Port 3001 |
| 25 |
|
| 26 |
Host sshbar-02 |
| 27 |
User user-bar-from-ssh-config-02 |
| 28 |
HostName host-bar-from-ssh-config-02.com |
| 29 |
Port 3002 |
| 30 |
|
| 31 |
Host sshrealhost.com |
| 32 |
User user-from-ssh-config |
| 33 |
Port 4001 |
| 34 |
|
| 35 |
Host sshnoport-01 |
| 36 |
User user-noport-from-ssh-config-01 |
| 37 |
HostName host-noport-from-ssh-config-01.com |
| 38 |
|
| 39 |
Host foo-01 |
| 40 |
User user-foo-from-ssh-config-01 |
| 41 |
HostName host-foo-from-ssh-config-01.com |
| 42 |
Port 5001 |
| 43 |
|
| 44 |
Host foo-02 |
| 45 |
User user-foo-from-ssh-config-02 |
| 46 |
HostName host-foo-from-ssh-config-02.com |
| 47 |
Port 5002 |
| 48 |
|
| 49 |
Host host-bar-from-nerdlog-config-01.com |
| 50 |
User user-bar-from-ssh-config-01 |
| 51 |
Port 6001 |
| 52 |
|
| 53 |
Host host-bar-from-nerdlog-config-02.com |
| 54 |
User user-bar-from-ssh-config-02 |
| 55 |
Port 6002 |
| 56 |
|
| 57 |
Host baz-01 |
| 58 |
User user-baz-from-ssh-config-01 |
| 59 |
HostName host-baz-from-ssh-config-01.com |
| 60 |
Port 7001 |
| 61 |
|
| 62 |
Host baz-02 |
| 63 |
User user-baz-from-ssh-config-02 |
| 64 |
HostName host-baz-from-ssh-config-02.com |
| 65 |
Port 7002 |