get_listening_ports
Identify listening ports on Linux systems to analyze network services and troubleshoot connectivity issues, supporting both local and remote SSH connections.
Instructions
Get ports that are listening on the system.
Args:
host: Remote host to connect to via SSH (optional, executes locally if not provided)
username: SSH username for remote host (required if host is provided)Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| username | No |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |