ssh_check_port
Check port reachability on a remote Linux server over SSH. Specify host and port to test connectivity from the remote machine.
Instructions
Test if a specific port is reachable from the remote machine.
Args: host: Target hostname or IP port: Target port number session_name: SSH session to use
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>",
"port": "<port>"
},
"name": "ssh_check_port"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| port | Yes | ||
| session_name | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |