Sunday, November 17, 2024

Why does using localhost "fix" ssh which seems to have been broken by Sequoia?

Fifteen is an M2 MBA and Sellotape is a 2019 iMac. Both running Sequoia.

Before Sequoia I was able to log in to either machine from the other. Now it fails:

Fifteen:~ mnewman$ ssh sellotape
ssh: connect to host sellotape port 22: Operation timed out

Unless I use local appended to the hostname:

Fifteen:~ mnewman$ ssh sellotape.local
Last login: Wed Oct  2 15:49:39 2024 from fe80::4d5:db02:81d6:74d5%en0
Sellotape:~ mnewman$

I don’t know enough about networking to understand why this works. Can anyone explain?

——– verbose logging below ——–

Fifteen:~ mnewman$ ssh -vv sellotape
OpenSSH_9.8p1, LibreSSL 3.3.6
debug1: Reading configuration data /Users/mnewman/.ssh/config
debug1: /Users/mnewman/.ssh/config line 3: Applying options for *
debug1: /Users/mnewman/.ssh/config line 37: Applying options for sellotape
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files
debug1: /etc/ssh/ssh_config line 54: Applying options for *
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug1: Connecting to sellotape port 22.
ssh: connect to host sellotape port 22: Operation timed out

Related Articles

Latest Articles