thx a lot that helps me a lot, so get out of my mess
- add OpenSSH public key (not putty key) to Balena Cloud
- open
balena-cli
balena-cli -> login
-
bash -x ./run.sh
of balena-io-playground/ssh-key-insert: Tooling to insert the relevant SSH keys into balena devices’ configuration. (github.com) to add penSSH public key to device balena-cli -> logout
- open terminal of OS
- using OS’s
ssh
to login into production directly
correct?
If so, final question, where does balena-cli
expect the private ssh-key to be stored using
- Windows
- Windows Subsystem Linux
as I cannot use the -i
flag in case of balena-cli -> ssh
so I have to store the key where it is expected what is properly not the case so that is why I get:
...@ssh.balena-devices.com: Permission denied (publickey).
Warning: ssh process exited with non-zero code "255"
as mentioned in Balena ssh fails with Permission denied (publickey) - Product support / balenaOS - balenaForums