wer tmux

Connect to a persistent tmux session on a workstation.

Usage

wer tmux [-n NAME] [flags] [--] [tmux-args...]

Description

The tmux command connects to (or creates) a persistent tmux session on the specified workstation. With no arguments, it creates or attaches to a tmux session named wer. With arguments, they are passed directly to the tmux command on the remote.

Unlike wer shell, which opens a standard SSH session that ends when you disconnect, a tmux session persists across disconnections. The connection automatically reconnects on failure, making it resilient to network interruptions and laptop suspends.

Flags

Flag Description
-n, --name Workstation name to connect to. Auto-detected if only one workstation is running

Examples

# Attach to (or create) the default "wer" tmux session
wer tmux

# Attach to the "wer" session on a specific workstation
wer tmux --name my-vm

# List remote tmux sessions
wer tmux ls

# Attach to a specific tmux session
wer tmux attach -t my-session

# Create a new named tmux session
wer tmux new-session -s my-session