# AstroRelay Configuration in Linux

**URL:** <https://forum.gl-inet.com/t/astrorelay-configuration-in-linux/32594>\
**Category:** Cloud Services\
**Created:** [August 18, 2023, 9:29am UTC](https://forum.gl-inet.com/t/astrorelay-configuration-in-linux/32594 "2023-08-18T09:29:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![glinetfan86](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/g/db5fbb/32.png) [@glinetfan86](https://forum.gl-inet.com/u/glinetfan86)\
**Post date:** [August 18, 2023, 9:29am UTC](https://forum.gl-inet.com/t/astrorelay-configuration-in-linux/32594/1 "2023-08-18T09:29:57Z")

</div>

Hello,

I set up an agent in AstroRelay, and uploaded "ARC client & configuration" folder (contains "arc" & "arc.cfg" & ca.pem) under Linux to my Ubuntu server.  
I can successfully run the following scripts via ssh:  
chmod +x arc  
./arc

I get successful connection upon running the above scripts:

## AstroRelay Client v1.0

Socket error 111: Connection refused  
Connection failed, retrying every 2500ms  
Watch dog started

- Press Ctrl + C To Shutdown \*

Connection accepted

However, as soon as I close the termjnal, the client status becomes "disconnected". Basically it connects to server momentarily, then it disconnects.  
Any idea why?

---

<div class="post-metadata">

**Author:** ![clannad](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/clannad/32/37481_2.png) [@clannad](https://forum.gl-inet.com/u/clannad)\
**Post date:** [August 18, 2023, 1:36pm UTC](https://forum.gl-inet.com/t/astrorelay-configuration-in-linux/32594/2 "2023-08-18T13:36:31Z")

</div>

You can use nohup run arc in backgroud

---

<div class="post-metadata">

**Author:** ![will.qiu](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/w/b38774/32.png) [@will.qiu](https://forum.gl-inet.com/u/will.qiu)\
**Post date:** [August 13, 2026, 8:39am UTC](https://forum.gl-inet.com/t/astrorelay-configuration-in-linux/32594/4 "2026-08-13T08:39:54Z")

</div>



---

<div class="post-metadata">

**Author:** ![will.qiu](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/w/b38774/32.png) [@will.qiu](https://forum.gl-inet.com/u/will.qiu)\
**Post date:** [August 13, 2026, 8:39am UTC](https://forum.gl-inet.com/t/astrorelay-configuration-in-linux/32594/5 "2026-08-13T08:39:56Z")

</div>



---

<div class="post-metadata">

**Author:** ![will.qiu](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/w/b38774/32.png) [@will.qiu](https://forum.gl-inet.com/u/will.qiu)\
**Post date:** [August 13, 2026, 8:51am UTC](https://forum.gl-inet.com/t/astrorelay-configuration-in-linux/32594/6 "2026-08-13T08:51:39Z")

</div>


