<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/setting-up-a-remote-environment-for-agentic-coding-on-a-vps-beo2qrut8" -->

---
title: Setting up a remote environment for agentic coding on a VPS
description: Mattias shares how to move an AI coding setup from a laptop to a private VPS, covering tools like Tailscale for secure networking, tmux for terminal session...
canonical: https://daily.dev/posts/setting-up-a-remote-environment-for-agentic-coding-on-a-vps-beo2qrut8
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Setting up a remote environment for agentic coding on a VPS | daily.dev
og:description: Mattias shares how to move an AI coding setup from a laptop to a private VPS, covering tools like Tailscale for secure networking, tmux for terminal session...
og:url: https://daily.dev/posts/setting-up-a-remote-environment-for-agentic-coding-on-a-vps-beo2qrut8
og:image: https://api.daily.dev/og/posts/Beo2QRUt8.png
og:image:alt: Setting up a remote environment for agentic coding on a VPS
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Setting up a remote environment for agentic coding on a VPS

**[FREEK.DEV](https://daily.dev/sources/freek)** · 1 min read · 0 upvotes · 0 comments

## Summary

Mattias shares how to move an AI coding setup from a laptop to a private VPS, covering tools like Tailscale for secure networking, tmux for terminal session management, and a browser-based editor. The guide focuses on practical tweaks that make a remote agentic coding environment accessible from any device.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://freek.dev/3169-setting-up-a-remote-environment-for-agentic-coding-on-a-vps>

## Questions this post answers

### How can I set up a persistent remote environment for AI coding agents on a VPS instead of running them on my laptop?

Combine a private VPS with Tailscale for secure network access, tmux for keeping terminal sessions alive between disconnects, and a browser-based editor so the environment can be reached from any device. This setup lets an agentic coding workflow keep running even when a laptop is closed or switched, with small configuration tweaks making the remote session feel practical day to day.

_Developers weighing local versus remote agentic coding setups can track workflow write-ups like this on daily.dev._

## Similar posts on daily.dev

- [My Coding Agents: Off My Laptop and Onto a Remote Server](https://daily.dev/posts/my-coding-agents-off-my-laptop-and-onto-a-remote-server-zxlgjxw5k) · Atomic Spin · 1 upvotes · 0 comments
- [rberg27/doom-coding: A guide for how to use your smartphone to code anywhere at anytime.](https://daily.dev/posts/rberg27-doom-coding-a-guide-for-how-to-use-your-smartphone-to-code-anywhere-at-anytime--m0luooxe6) · Hacker News · 0 upvotes · 0 comments

---

Tags: [#ai-coding](https://daily.dev/tags/ai-coding), [#remote-work](https://daily.dev/tags/remote-work), [#bash](https://daily.dev/tags/bash), [#tailscale](https://daily.dev/tags/tailscale)

[View this post on daily.dev](https://daily.dev/posts/setting-up-a-remote-environment-for-agentic-coding-on-a-vps-beo2qrut8)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Setting up a remote environment for agentic coding on a VPS","url":"https://daily.dev/posts/setting-up-a-remote-environment-for-agentic-coding-on-a-vps-beo2qrut8","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/setting-up-a-remote-environment-for-agentic-coding-on-a-vps-beo2qrut8"},"datePublished":"2026-07-24T14:03:35.886Z","dateModified":"2026-09-14T07:51:02.853Z","description":"Mattias shares how to move an AI coding setup from a laptop to a private VPS, covering tools like Tailscale for secure networking, tmux for terminal session...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/fee47b848cf4cbbd50826c8a035f23b8?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/fee47b848cf4cbbd50826c8a035f23b8?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"FREEK.DEV","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"FREEK.DEV","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/286e833d1aaa453d99849cd4dbb7a106","url":"https://daily.dev/sources/freek"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/setting-up-a-remote-environment-for-agentic-coding-on-a-vps-beo2qrut8","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai-coding,remote-work,bash,tailscale","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"FREEK.DEV","item":"https://daily.dev/sources/freek"},{"@type":"ListItem","position":3,"name":"Setting up a remote environment for agentic coding on a VPS"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/setting-up-a-remote-environment-for-agentic-coding-on-a-vps-beo2qrut8#faq","mainEntity":[{"@type":"Question","name":"How can I set up a persistent remote environment for AI coding agents on a VPS instead of running them on my laptop?","acceptedAnswer":{"@type":"Answer","text":"Combine a private VPS with Tailscale for secure network access, tmux for keeping terminal sessions alive between disconnects, and a browser-based editor so the environment can be reached from any device. This setup lets an agentic coding workflow keep running even when a laptop is closed or switched, with small configuration tweaks making the remote session feel practical day to day. Developers weighing local versus remote agentic coding setups can track workflow write-ups like this on daily.dev."}}]}
```

