open-balena icon indicating copy to clipboard operation
open-balena copied to clipboard

connect to devices behind an SSH Bastion Host by using ssh ProxyCommand or ProxyJump

Open saveriogzz opened this issue 2 years ago • 2 comments

Hi Balena peeps!

I am trying to see my devices on my balenaCloud dashboard but I'm struggling because the network that the devices are connect to is pretty closed and hosts can be reached just by first passing through a Bastion Host. Which I normally do by having either a ProxyJump or a ProxyCommand set in my .ssh/config file, for example:

Host mybastion
    HostName linux-bastion-ex.domain.somewehere
    User saymynamesaymyname

Host somehostonthenetwork
  HostName some-host.department.domain.somewehere
  User saymynamesaymyname
  # either
  ProxyCommand ssh mybastion -W %h:%p
  # or
  ProxyJump mybastion

Is there any chance to set this option on balenaCloud/openBalena? I see that there is support for proxies, however I'm not sure it is technically the same thing!

Thanks in advance for your help, I really appreciate it! openBalena is a fantastic project 🐳

saveriogzz avatar Feb 09 '22 11:02 saveriogzz

Hey @saveriogzz, thanks for your kind words. I'll have to ask you to direct your inquiries to our forums,both the balena team and many openBalena users hang out there and is the best place to get help. We ask that Github issues are reserved for actionable items only. Thanks!

dfunckt avatar Feb 09 '22 12:02 dfunckt

hey @dfunckt, thanks! I posted it there already but I was not sure it was the best way to approach it. Please go ahead and close or remove this issue :) Cheers

saveriogzz avatar Feb 09 '22 12:02 saveriogzz