close_session
Terminate an active SSH connection to a remote host by specifying its hostname, IP, or SSH alias.
Instructions
Close a specific SSH session.
The host parameter can be either a hostname/IP or an SSH config alias.
Args: host: Hostname, IP address, or SSH config alias username: SSH username (optional, will use SSH config or current user) port: SSH port (optional, will use SSH config or default 22)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| username | No | ||
| port | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |