ssh_disconnect
Close an active SSH session to a remote host by providing its hostname and username, terminating the secure connection and freeing local resources.
Instructions
Close an SSH connection to a remote host
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"host": "<host>",
"username": "<username>"
},
"name": "ssh_disconnect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | IP address or hostname | |
| port | No | SSH port (default: 22) | |
| username | Yes | SSH username |