Not to be too repetitive, but I have an M2 MBA and an Intel iMac (2019). I've always been able to log on to one from the other using public key authentication. Obviously, remote login is enabled on both. Not so obviously, the firewall is disabled on both.
I can no longer ssh into either machine from the other Mac. This is what a verbose login looks like:
Code:
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.
I can log on from either Mac to a Raspberry Pi:
Code:
Fifteen:~ mnewman$ ssh raspsky
Linux raspsky 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Oct 2 13:44:30 2024 from 192.168.0.78
pi@raspsky:~/webcam $
And, I can login to the M2 MBA Mac from the Pi:
Code:
pi@raspsky:~/webcam Me$ ssh mnewman@fifteen
Last login: Wed Oct 2 13:44:54 2024 from 192.168.0.65
Fifteen:~ mnewman$
But not to the Intel iMac from the same Pi:
Code:
pi@raspsky:~/webcam $ ssh -vv mnewman@sellotape
OpenSSH_7.9p1 Raspbian-10+deb10u4, OpenSSL 1.1.1n 15 Mar 2022
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: resolving "sellotape" port 22
debug2: ssh_connect_direct
debug1: Connecting to sellotape [192.168.0.75] port 22.
debug1: connect to address 192.168.0.75 port 22: No route to host
ssh: connect to host sellotape port 22: No route to host
Note that the firewall is disabled on the Intel iMac, so there should be no problem with port 22.
And, at this point, I'm stuck.