Stop shortcutting git.rcjohnstone.com in ssh config

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.
This commit is contained in:
2026-09-14 14:50:37 -04:00
parent 4d4242f103
commit 45e76f375f
2 changed files with 3 additions and 14 deletions
+3 -6
View File
@@ -1,6 +1,3 @@
# Gitea runs on this machine; reach it on the loopback rather than out and back.
Host git.rcjohnstone.com
HostName localhost
Port 2222
User connor
IdentityFile ~/.ssh/id_ed25519
# No machine-specific ssh aliases on mainframe.
# git.rcjohnstone.com is resolved by the router's DNS to 10.0.0.2 and the
# git remote URL carries :2222, so no alias is needed or wanted here.