Balena ssh fails with Permission denied (publickey)

Having seen activity in this thread… I understand that:

  • The approach described by Pietro (adding a ssh key to the config.json file) would allow “standard ssh” (rather than “balena ssh”) to work. The sshKeys entry in config.json is described on this page: https://github.com/balena-os/meta-balena/#sshkeys
  • The "balena key", "balena keys" and "balena ssh" commands don’t currently work with openBalena. See this other forum thread for further advice on how to ssh to devices on openBalena: HowTo: SSH into host device