HowTo: SSH into host device

Hi @bkaindl , Again thanks for your support.

Finally, I succeeded in accessing my device. What I found, the newer BalenaOS >=v2.85 does not come in two flavors, i.e. development and production, instead, production is the default mode. I was using raspberrypi3-2.105.1+rev1-v14.2.0.img and while using sudo balena scan I saw it was in production mode. That’s why while configuring the image, I used

balena os configure ~/Downloads/raspberrypi3-2.105.1+rev1-v14.2.0.img --fleet myApp --dev

Also, I made a small adjustment in the original answer by @richbayliss from

Host *.balena
  ProxyCommand proxytunnel -p vpn.<your openBalena domain>:3128 -d %h:22222 -F ~/.ssh/balena-ssh
  ServerAliveInterval 30

To

Host *.balena
  ProxyCommand proxytunnel -z -q -E -p tunnel.<your openBalena domain>:443 -d %h:22222 -F ~/.ssh/balena-ssh
  ServerAliveInterval 30

Finally, could access my device by

$ ssh root@<full UUID>.balena

Again, thanks for your help. I really appreciate it.

2 Likes