ServerN/A
server-access
Manage the access-control list for the tmux socket, so other users can attach read-only or read-write. The server's owner and root always have access. File-system permissions on the socket must still be set manually.
Synopsis
bash
tmux server-access [-adlrw] [user]Options
| Flag | Description |
|---|---|
| -a | Add the user to the access list |
| -d | Remove the user from the access list |
| -r | Give the user read-only access |
| -w | Give the user read-write access |
| -l | List the current access list |
Examples
Allow alice to attach read-write
bash
tmux server-access -aw aliceAllow bob to attach read-only
bash
tmux server-access -ar bobRevoke bob's access
bash
tmux server-access -d bobDefault Keybinding
N/A
Default prefix is Ctrl+b
Pro Tips
- •Pair-program safely by granting read-only access to a shared socket
- •Still set socket file permissions (e.g. via -S) so others can reach it