-
Notifications
You must be signed in to change notification settings - Fork 0
Remote Support Shells
One of TAILCAT ZER0's most powerful capabilities is providing zero-friction remote terminal access to your router without opening WAN firewall ports, setting up DDNS, disclosing your router administrator password, or managing SSH public keys.
TAILCAT ZER0 offers two distinct shell operational modes depending on your trust level with the person connecting:
| Feature / Capability | ๐ข Full Root Shell (ssh root) |
๐ Restricted View-Only Shell (view) |
|---|---|---|
| Target User | Router owner, co-admin, highly trusted technician | Forum helpers (e.g. SNBForums), community developers, untrusted diagnostic triage |
| User Privileges | Unrestricted root (/bin/sh) |
Restricted operator (tailcat-view-shell) |
| System Modification | Full read/write access | โ Completely blocked (read-only sandbox) |
| File Deletions / Writes | Permitted (rm, mv, cp, touch, dd) |
โ Blocked by sandbox wrapper & GTFOBin defenses |
| Redirection / Subshells | Permitted (>, >>, $(), `) |
โ Blocked by parser |
| Sensitive File Access | Unrestricted (/etc/shadow, .ssh/id_*) |
โ Protected; access denied to credential stores |
| Hardware Flash Safeguards | Subject to normal root rules | ๐ก๏ธ Hard Red Lines block mtd flash tampering |
| Permission Escalation | Not applicable (already root) | ๐ Supported (request <cmd> with host approval) |
| Auto-Kill Watchdog | Enabled (default 30m) | Enabled (default 30m) |
The View-Only Shell is built for zero-trust scenarios. When an external helper asks to check your router configuration or investigate an issue, you do not need to give them root privileges or your router password.
- Run
tailcatzero. - Select Option 1 (๐ Remote Support Shell).
- Select Option 2 (Restricted View-Only Shell).
- The Active Session Card will display your capability token and a copy-paste invite snippet.
tailcatzero view
# or
tailcatzero ssh view- Inspect system resource utilization:
uptime,free,df,ps,top,dmesg,sysinfo. - Inspect network routing and interfaces:
ip addr,ip route,netstat,route,ports,ping,mtr,wl,leases. - Query NVRAM settings safely:
nvram get <var>,nvram show(passwords & keys are automatically scrubbed). - Read router logs:
logread,cat /tmp/syslog.log. - Query Entware packages:
opkg list,opkg info,opkg status. - Safe text filtering with pipelines:
ps | grep dnsmasq,nvram show | grep dhcp.
- Cannot modify files or router settings (
nvram set,nvram commit,touch,rm,echo ... > file). - Cannot reboot, halt, or kill running processes (
reboot,kill,killall). - Cannot execute shell escapes, subshells, or command chaining (
;,&&,||,$()). - Cannot read passwords, private keys, or hashes (
/etc/shadow,/tmp/etc/shadow,id_rsa,dropbear.key).
(See View-Only Sandbox & Escalation for a deep dive into the sandbox architecture).
The Root Shell provides complete, unrestricted administrative root access to the router's native BusyBox /bin/sh environment.
Warning
Only share Full Root Shell tokens with people you completely trust. A root shell has full authority to rewrite router flash partitions, modify firewalls, edit system configurations, and read stored credentials.
- Run
tailcatzero. - Select Option 1 (๐ Remote Support Shell).
- Select Option 1 (Full Root Shell).
tailcatzero ssh root
# or simply:
tailcatzero sshThe connecting user does not need a Tailscale account, VPN profile, or SSH key. They only need the tailcat client installed on their machine:
-
macOS:
brew install tailcat
-
Linux / Go:
go install github.com/tailscale/tailcat/cmd/tailcat@latest
- Precompiled Binaries: Download for Linux, macOS, or Windows from Tailscale TailCat Releases.
The guest simply runs:
tailcat ssh tcXXXXXXXXXXXXThe client negotiates an encrypted WireGuard peer connection via Tailscale's DERP relay network, punches through any NATs or firewalls, and attaches to the remote shell within seconds.
As the host router administrator, you maintain absolute control over every active session:
-
From TUI: Press
v(View Sessions) โ Presss(Stop Session). -
From CLI:
# Stop view-only shell tailcatzero stop VIEW # Stop root shell tailcatzero stop SSH # Stop all active sessions tailcatzero stop all
Upon termination, the background WireGuard process is killed immediately, all temporary session sockets are deleted, and the capability token is revoked permanently. Any attempt to reconnect with the old token will fail.
TAILCAT ZER0 โข Ephemeral WireGuard Management for Asuswrt-Merlin โข GitHub Repository