The router resolves it to 10.0.0.2 at the DNS level and the remote URL already carries :2222, so the alias was redundant everywhere and wrong on mainframe, where it pointed at localhost. Verified: connecting with -F /dev/null succeeds from both mainframe and system76.
23 lines
536 B
Plaintext
23 lines
536 B
Plaintext
# Host-specific aliases come first: ssh takes the FIRST value it obtains for
|
|
# each keyword, so anything in config.local wins over the fleet defaults below.
|
|
Include ~/.ssh/config.local
|
|
|
|
# --- the fleet -------------------------------------------------------------
|
|
Host nas
|
|
HostName 10.0.0.3
|
|
User connor
|
|
|
|
Host mainframe
|
|
HostName 10.0.0.2
|
|
User connor
|
|
ServerAliveInterval 30
|
|
ServerAliveCountMax 6
|
|
|
|
Host system76
|
|
HostName 10.0.0.4
|
|
User connor
|
|
|
|
Host work_laptop
|
|
HostName 10.0.0.8
|
|
User connorjohnstone
|