Unable to SSH to one client that I used to connect to
Running Sonoma 14.6.1 and trying to SSH into a Raspberry Pi that I last used ~2 years ago. The Pi had been off and unused but is now on my network and patched and up to date.
I can successfully SSH to other clients. I've troubleshooted on the Pi and SSH is enabled and I can SSH from another client, just not from my laptop running Sonoma.
I've checked known_hosts and there is an entry for the old Pi. I've tried `sudo ssh-keygen -R host` to remove the entry but I get `Cannot stat /Users/Chris/.ssh/known_hosts: No such file or directory'
I can open that file and see contents so it does exist.
If I look at the mail that is generated by trying the command, it's really confusing. I've cleared this file completely so I'm only looking at entries created by me trying to ssh-keygen or to ssh user@host. All of the items recorded in Mail refer to something I've not had on this laptop in years and years.
From Chris@MacBook-XXXX-XX.local Tue Mar 11 11:17:03 2025
Return-Path: <XXXX@MacBook-XXX-XX.local>
X-Original-To: XXXX
Delivered-To: XXXX@MacBook-XXX-XX.local
Received: by MacBook-XXXX-XX.local (Postfix, from userid 501)
id 35FFE6445F48; Tue, 11 Mar 2025 11:17:01 +1100 (AEDT)
From: XXXX@MacBook-XXXX-XX.local (Cron Daemon)
To: XXXX@MacBook-XXXX-XX.local
Subject: Cron <XXXX@MacBook-XXXX-XX> chmod 777 /Applications/World\ of\ Warcraft/.build.info
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=XXXX>
X-Cron-Env: <USER=XXXX>
Message-Id: <20250311001703.35FFE6445F48@MacBook-XXXX-XX.local>
Date: Tue, 11 Mar 2025 11:17:01 +1100 (AEDT)
chmod: /Applications/World of Warcraft/.build.info: No such file or directory
Can someone please help me understand how to fix this so I can get SSH working again please with this one client?