Ensure/attach remote tmux session
tmux_open_sessionEnsure a remote tmux session exists on an SSH host, creating it if missing, and set it as default for subsequent commands.
Instructions
Given an ssh host alias and session name, ensure the remote tmux session exists (create if missing) and set it as default for subsequent commands.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | SSH config host alias to connect to. | |
| command | No | Optional command to start the session with if it needs to be created. | |
| session | Yes | tmux session name on the remote host. |