I would like to SSH into Host OS on my Balena device.
But when I do
balena ssh <device-ip> or just
ssh root@<device-ip> I have a permission denied issue:
$ balena ssh 192.168.0.129 email@example.com: Permission denied (publickey).
Whereas if I do
balena ssh <device uuid> -s it works correctly.
I’ve installed openssh container in a multicontainers project but I still have this error. (https://github.com/balena-io-playground/balena-openssh)
I’m using a production version of Balena. I tried to add my public key into
authorized_keys file but the file doesn’t save the change…
I could use the uuid to SSH, but the device will be offline, so that’s why I need to access via the IP.
How can I do that?