ALL-IN-ONE HOST INSTALLERS & PERMISSION GUIDES

Prepare Mac, DGX Spark & Windows hosts for AgentSesh.

Every package installs tmux / native psmux, SSH + SFTP, keepalive, and VNC / Apple Screen Sharing (port 5900), plus step-by-step instructions for sudo prompts, macOS System Settings (Remote Login, Full Disk Access, Screen Sharing), Linux GNOME RDP→VNC, and Windows Administrator UAC + TightVNC.

Apple Silicon & Intel · macOS 14+

macOS All-in-One Host Setup

Installs Homebrew check + tmux, AgentSesh's 24-bit truecolor & auto-exit copy-mode profile, agentsesh CLI, clean session teardown, SSH keepalive (prevents macOS's 42-socket cellular lockout), and checks Remote Login (SSH/SFTP) & Apple Screen Sharing.

tmux + TruecolorSSH + SFTP (22)Apple Screen Sharing HEVC (5900)SSH Keepalive (sudo)agentsesh CLI
curl -fsSL https://agentsesh.ai/install/mac.sh | bash
🛡️ Permissions, sudo & OS Settings Checklist (Step-by-Step)
1. Run the installer in Terminal

Paste the 1-line command above (or extract agentsesh-mac-host.tar.gz and run bash install.sh). If Homebrew isn't installed yet, install it from brew.sh first so tmux installs cleanly.

2. Enter your macOS sudo password when prompted

Required once to write /etc/ssh/sshd_config.d/050-agentsesh.conf (ClientAliveInterval keepalive). This prevents macOS from hitting its 42-socket sshd limit after cellular network switches.

3. Turn ON Remote Login (SSH + SFTP) & Full Disk Access

Open System Settings → General → Sharing → turn ON Remote Login. Click the ⓘ info button next to Remote Login and toggle ON “Allow full disk access for remote users” — this is essential so SFTP downloads and coding agents can read Desktop, Documents, and external drives.

4. Prepare Apple Screen Sharing (60 fps HEVC)

In System Settings → General → Sharing → turn ON Screen Sharing. Click ⓘ to allow your macOS user (enables Apple High Performance HEVC on port 5900). If a background script still hits macOS folder prompts, add sshd-keygen-wrapper under System Settings → Privacy & Security → Full Disk Access.

5. Keep Mac awake & enable Tailscale

Run sudo pmset -c sleep 0 (or use Amphetamine) so your Mac stays reachable on AC power. Install Tailscale on Mac and disable Key Expiry in your Tailscale Admin Console for seamless away-from-home access.

NVIDIA DGX Spark · Ubuntu 24.04 · Debian · Fedora

DGX Spark & Linux All-in-One Host Setup

Installs OpenSSH Server (SSH + SFTP), tmux + truecolor profile, avahi-daemon (.local LAN), SSH keepalive, masks idle sleep/suspend, and solves DGX Spark / Ubuntu 24.04's GNOME RDP-only quirk by setting up standard VNC on port 5900 + UFW firewall rules.

openssh-server + SFTPtmux + TruecolorFixes GNOME RDP → VNC (5900)Disable Sleep/SuspendUFW + Avahi .local
curl -fsSL https://agentsesh.ai/install/dgx-spark.sh | bash
🛡️ Permissions, sudo & OS Settings Checklist (Step-by-Step)
1. Run the installer (uses sudo)

Paste the 1-line command in Terminal (or extract agentsesh-dgx-spark-host.tar.gz and run bash install.sh). Enter your sudo password once — the script installs openssh-server, tmux, avahi-daemon, TigerVNC, x11vnc, SSH keepalive, and disables sleep/suspend targets.

2. Fix DGX Spark / Ubuntu 24.04 RDP-Only Quirk → VNC (Port 5900)

Ubuntu 24.04 and DGX Spark default GNOME Remote Desktop to RDP (port 3389). Our installer automatically enables GNOME legacy VNC auth (grdctl vnc enable) AND creates a persistent user systemd VNC service (agentsesh-vnc.service on TCP 5900) so both headless and monitor-attached DGX Sparks work smoothly.

3. Set your VNC password once

Run: vncpasswd && systemctl --user enable --now agentsesh-vnc.service (if using GNOME desktop with a monitor, you can also set the VNC password in Settings → System → Remote Desktop → Desktop Sharing).

4. Firewall & persistent background user services

If UFW is active, the installer automatically allows TCP 22 (SSH/SFTP) and TCP 5900 (VNC) and runs sudo loginctl enable-linger so tmux and VNC survive logouts.

5. Install Tailscale for anywhere access

Run curl -fsSL https://tailscale.com/install.sh | sh && sudo tailscale up, then add the host in AgentSesh with System = Linux, your LAN .local address, and your 100.x Tailscale IP.

Windows 10 & Windows 11 · Native ConPTY (No WSL Required)

Windows All-in-One Host Setup

Configures Windows OpenSSH Server + SFTP subsystem, sets PowerShell default shell, installs native psmux (tmux-compatible with working Ctrl-C, zero WSL), solves Windows' RDP-only limitation by installing TightVNC Server on port 5900, opens Firewall rules, and disables AC sleep.

OpenSSH + SFTP (22)Native psmux (No WSL)Fixes RDP → TightVNC (5900)Firewall + No SleepAdmin UAC Setup
irm https://agentsesh.ai/install/windows.ps1 | iex
🛡️ Permissions, sudo & OS Settings Checklist (Step-by-Step)
1. Open PowerShell / Windows Terminal AS ADMINISTRATOR

Right-click Windows Terminal or PowerShell → click “Run as Administrator” and approve the Windows UAC security prompt. Administrator rights are required to install OpenSSH Server, create Firewall rules, and install TightVNC as a service.

2. Run the 1-line PowerShell installer

Paste the command above (or unzip agentsesh-windows-host.zip and run powershell -ExecutionPolicy Bypass -File install.ps1). It installs OpenSSH + SFTP, native psmux via winget, TightVNC Server, Firewall ports 22 & 5900, and disables AC power sleep.

3. Fix Windows RDP-Only Quirk → Set TightVNC Password

Windows Remote Desktop uses RDP only. Open Start → TightVNC Service Configuration → Server tab → click “Set” under Primary Password. Enter this password in AgentSesh to view & control your Windows desktop over VNC port 5900.

4. Windows Administrator SSH Key Quirk (Important!)

If your Windows account is an Administrator, OpenSSH ignores ~/.ssh/authorized_keys! Paste your AgentSesh Ed25519 public key into C:\ProgramData\ssh\administrators_authorized_keys and lock permissions with: icacls.exe "C:\ProgramData\ssh\administrators_authorized_keys" /inheritance:r /grant "Administrators:F" /grant "SYSTEM:F"

5. Add Tailscale for away-from-home access

Run winget install Tailscale.Tailscale, sign in from the system tray, and add your PC in AgentSesh with System = Windows.