-
Notifications
You must be signed in to change notification settings - Fork 140
Host Commands
Use wemux start
to start a wemux session, chmod /tmp/wemux-host to 1777 so
that other users may connect to it, and attach to it. If a wemux session
already exists, it will attach to it instead.
Use wemux attach
to attach to an existing wemux session.
Use wemux stop
to kill the wemux session and remove the /tmp/wemux-host
socket.
Use wemux kick <username>
to kick an SSH user from the server and remove
their wemux pair sessions.
Use wemux config
to open /etc/wemux.conf
in your $EDITOR.
Note this only works if you have the environment variable EDITOR configured.
When wemux
is run without any arguments in host mode, it is just like
running wemux start. It will reattach to an existing wemux session if it
exists, otherwise it will start a new session.
wemux passes commands it doesn't understand through to tmux with the correct socket setting.
wemux list-sessions
is equivalent to entering tmux -S /tmp/wemux-host list-sessions
All commands have a short form. s for start, a for attach, k for stop etc.
For a complete list, type wemux help
(or wemux h
)