ssh_connect
Establish an SSH connection to a remote Ubuntu server using password, private key, or saved credentials, with optional jump host and custom known_hosts settings.
Instructions
Connect to a remote Ubuntu server via SSH
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | No | Remote server hostname or IP address | |
| username | No | SSH username | |
| password | No | SSH password for first-time bootstrap when no private key is available | |
| private_key_path | No | Path to private key file (optional) | |
| port | No | SSH port (default: 22) | |
| connection_name | No | Name for this connection (default: hostname) | |
| known_hosts_path | No | Optional path to a known_hosts file to trust in addition to system host keys | |
| trust_unknown_host | No | Allow connecting to hosts not present in known_hosts. Defaults to false. | |
| saved_credential_name | No | Load connection details from a saved local credential entry | |
| save_credentials | No | Persist a reusable local credential after a successful connect. Defaults to true for direct logins with password or private key. Password logins are converted into saved key-based credentials. | |
| credential_name | No | Name to use when saving credentials locally. Defaults to connection_name or hostname. | |
| jump_host | No | Optional SSH jump host (bastion) used to reach the target via native SSH tunneling |