create_ssh_session
Open interactive SSH sessions with key or password authentication, supporting persistent connections and SSH config aliases for remote server management.
Instructions
Open an interactive SSH session (supports key/password auth and SSH config aliases)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | No | Initial command for persistent session (default: /bin/bash) | |
| host | Yes | SSH host IP or hostname | |
| ignore_host_key | No | Skip known_hosts check (not recommended) | |
| key_path | No | SSH private key path (default: ~/.ssh/id_ed25519, id_rsa) | |
| password | No | Optional if using key auth | |
| persistent | No | Use ai-tmux for persistent session (survives SSH disconnect) | |
| port | No | SSH port (default: 22) | |
| session_id | No | Attach to existing ai-tmux session by ID (use list_remote_sessions to find IDs) | |
| user | Yes |