# Mender Remote Terminal Unavailable?

**URL:** <https://hub.mender.io/t/mender-remote-terminal-unavailable/4454>\
**Category:** General Discussions\
**Created:** [January 8, 2022, 1:35pm UTC](https://hub.mender.io/t/mender-remote-terminal-unavailable/4454 "2022-01-08T13:35:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexC](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@AlexC](https://hub.mender.io/u/AlexC)\
**Post date:** [January 8, 2022, 1:35pm UTC](https://hub.mender.io/t/mender-remote-terminal-unavailable/4454/1 "2022-01-08T13:35:48Z")

</div>

Hi,

Late last year we setup some RPi4s and enrolled them under Hosted Mender with mender-connect installed and the troubleshoot addon, all looked to be fine we’d see the units check into Mender on the Dashboard and could remote in using terminal

We’ve since sent those units to another site and whilst they are seen checking in to Mender the option for remote terminal is no longer present on the device page

Are there any specific network settings required for remote terminal access such as Firewall rules to set?

Many thanks,  
Alex

---

<div class="post-metadata">

**Author:** ![oleorhagen](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/oleorhagen/32/297_2.png) [@oleorhagen](https://hub.mender.io/u/oleorhagen)\
**Post date:** [January 10, 2022, 12:05pm UTC](https://hub.mender.io/t/mender-remote-terminal-unavailable/4454/2 "2022-01-10T12:05:22Z")

</div>

The terminal is using the same connection as the client, over a websocket, so this should not be an issue.

However, previous versions have had some issues with a race condition when it is started up.

Can you try and restart the `mender-connect` systemd service?

---

<div class="post-metadata">

**Author:** ![AlexC](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@AlexC](https://hub.mender.io/u/AlexC)\
**Post date:** [January 10, 2022, 4:01pm UTC](https://hub.mender.io/t/mender-remote-terminal-unavailable/4454/3 "2022-01-10T16:01:07Z")

</div>

I’ll check again next time the system is power cycled, unfortunately I don’t have direct access to them at present

I can see the 4 RPi’s checking in to Mender every 8 hours or so, but I take it the terminal service won’t restart by itself if the startup issue was present on boot?

Although without knowing the specifics, it seems odd for all four to encounter it simultaneously

Thanks,  
Alex

---

<div class="post-metadata">

**Author:** ![oleorhagen](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/oleorhagen/32/297_2.png) [@oleorhagen](https://hub.mender.io/u/oleorhagen)\
**Post date:** [January 11, 2022, 9:28am UTC](https://hub.mender.io/t/mender-remote-terminal-unavailable/4454/4 "2022-01-11T09:28:39Z")

</div>

Yes, I agree - that is odd indeed.

Have you tried connecting to a device with `mender-cli`? [GitHub - mendersoftware/mender-cli: A general-purpose CLI for the Mender backend](https://github.com/mendersoftware/mender-cli)

---

<div class="post-metadata">

**Author:** ![AlexC](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@AlexC](https://hub.mender.io/u/AlexC)\
**Post date:** [February 9, 2022, 10:22am UTC](https://hub.mender.io/t/mender-remote-terminal-unavailable/4454/5 "2022-02-09T10:22:53Z")

</div>

Sorry for the late reply

I’ve seen a few of the pi’s expose terminal access but it seems very sporadic, similar with check-ins to Mender itself, i.e only 2 out of 4 are checking in. My test system is fine and checks in without complaint so I’m leaning towards the network setup on site.

The on site firewalls are very restrictive from my understanding and work via ip whitelists, I assume the pi’s are trying to connect to [hosted.mender.io](http://hosted.mender.io)?

Is there a fixed IP address that could be added to the firewall for [mender.io](http://mender.io) or is it rotating/dynamic?

I’ve also noticed when trying the terminal that the NTP service was being blocked so the system clock is incorrect, was wondering if that may cause issues as well if correct times are needed for interacting with Mender?

Thanks again

---

<div class="post-metadata">

**Author:** ![oleorhagen](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/oleorhagen/32/297_2.png) [@oleorhagen](https://hub.mender.io/u/oleorhagen)\
**Post date:** [March 11, 2022, 10:12am UTC](https://hub.mender.io/t/mender-remote-terminal-unavailable/4454/6 "2022-03-11T10:12:57Z")

</div>

> [@AlexC](#):
>
> The on site firewalls are very restrictive from my understanding and work via ip whitelists, I assume the pi’s are trying to connect to [hosted.mender.io](http://hosted.mender.io)?

This is correct.

> [@AlexC](#):
>
> Is there a fixed IP address that could be added to the firewall for [mender.io](http://mender.io) or is it rotating/dynamic?

Not fixed unfortunately.

> [@AlexC](#):
>
> I’ve also noticed when trying the terminal that the NTP service was being blocked so the system clock is incorrect, was wondering if that may cause issues as well if correct times are needed for interacting with Mender?

It could cause issues with the certificate I’m pretty sure, so better have this working correctly.
