I was reviewing the forum for SSH related changes that can be made to TinyPilot and wanted to change some settings via SSH but found out I could not even SSH in macOS Monterey. My TinyPilot works fine otherwise. Anyone else encounter issues with macOS ssh?
- I am on the latest update TinyPilot version
- ssh is enabled in gui
Error message: could not resolve host name TinyPilot: nodename nor servname provided or not known
- 3 回复
- CCharles Hague @cghague2023-05-04 17:00:56.401Z
Hi @Supercell, thanks for reaching out with your question about using SSH on macOS Monterey.
The error message you mentioned suggests that the
sshutility on macOS can’t find your TinyPilot device on the network. This usually happens if you try to connect using just the hostname (e.g.,
ssh pilot@tinypilot). Can you please try connecting using
That worked, although since I changed hostname it was "ssh pilot@[hostname].local
- CCharles Hague @cghague2023-05-05 11:22:15.274Z
Thanks for letting me know it worked! As you correctly noticed, the
.localaddress is automatically generated based on the hostname and is then advertised over mDNS to make it easier to connect to your TinyPilot device. The mDNS protocol allows devices to announce themselves, and discover other devices, on a network without depending on DNS servers or static host address mappings.