# SSH: Could not resolve hostname

**URL:** <https://forums.balena.io/t/ssh-could-not-resolve-hostname/4848>\
**Category:** openBalena\
**Created:** [December 28, 2018, 5:18pm UTC](https://forums.balena.io/t/ssh-could-not-resolve-hostname/4848 "2018-12-28T17:18:27Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![dash](https://avatars.discourse-cdn.com/v4/letter/d/7c8e57/32.png) [@dash](https://forums.balena.io/u/dash)\
**Post date:** [January 3, 2019, 9:51pm UTC](https://forums.balena.io/t/ssh-could-not-resolve-hostname/4848/9 "2019-01-03T21:51:59Z")

</div>

Hi @KingRial

I believe that is working correctly. When you execute command to SSH device what I believe happens is a message is sent to Balena supervisor running on remote device which opens a reverse SSH tunnel to openBalena server, then server connects to the SSH tunnel using the local port.

Please see this however:

> [@Error SSH to device via balena-cli](https://forums.balena.io/t/error-ssh-to-device-via-balena-cli/4855/4):
>
> Hi @rlev, This issue appears to be unrelated to ssh domain name. I looks like it is more likely something to do with network configuration on either host instance or remote device. I believe 172.18.0.6 is the IP of address of your remote device running Balena host OS? The first thing I would do is start using some network tools like telnet to check that your Balena instance can reach the device at that IP and then check if there is anything listening on that port. $ telnet 172.18.0.6 3128 C…

SSH is listed as beta in the CLI tool and it appears it does not yet work with openBalena instances. It does however work just fine with balenaCloud.

Cheers  
Chris

---

_[View the full topic](https://forums.balena.io/t/ssh-could-not-resolve-hostname/4848)._
