ssh_connect
Establish a secure SSH connection to a remote server by specifying host, username, and optional authentication details like password or private key. Supports custom ports and unique connection identifiers.
Instructions
Connect to a remote server via SSH
Input Schema
Name | Required | Description | Default |
---|---|---|---|
connectionId | No | Unique identifier for this connection | |
host | Yes | Hostname or IP address of the remote server | |
passphrase | No | Passphrase for private key (if needed) | |
password | No | SSH password (if not using key-based authentication) | |
port | No | SSH port (default: 22) | |
privateKeyPath | No | Path to private key file (if using key-based authentication) | |
username | Yes | SSH username |
Input Schema (JSON Schema)
{
"properties": {
"connectionId": {
"description": "Unique identifier for this connection",
"type": "string"
},
"host": {
"description": "Hostname or IP address of the remote server",
"type": "string"
},
"passphrase": {
"description": "Passphrase for private key (if needed)",
"type": "string"
},
"password": {
"description": "SSH password (if not using key-based authentication)",
"type": "string"
},
"port": {
"description": "SSH port (default: 22)",
"type": "number"
},
"privateKeyPath": {
"description": "Path to private key file (if using key-based authentication)",
"type": "string"
},
"username": {
"description": "SSH username",
"type": "string"
}
},
"required": [
"host",
"username"
],
"type": "object"
}