Hi there. I can see that a similar question has been asked, but I’m not sure that I understand the respones.
So, I have a Raspberry Pi3B+ locally, it has the balenaOS 2.83.21+rev1 installed and is managed via the console. So far so good.
But what I want to be able to do is to SSH into the Pi locally.
If I try standard ssh on the Mac, nothing happens (because it’s not listening on port 22).
If I change it to ssh -p 22222 [local-ip-address], I get:
The authenticity of host ‘[local-ip-address]:22222 ([local-ip-address]:22222)’ can’t be established.
ECDSA key fingerprint is SHA256:[Key removed].
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added ‘[local-ip-address]:22222’ (ECDSA) to the list of known hosts.
I say yes, and I can see that the key has been added to the hosts.
If I try to ssh, (seems it only responds if I use sudo), I see this:
root@local-ip-address: Permission denied (publickey).
I don’t have an SSH key (other than what was added automatically into /Users/user/.ssh/known_hosts
Does anyone have any idea where I’m going wrong?