connect
Establish an SSH session to a remote server using password or private key authentication, and receive the connection status.
Instructions
Connect to SSH server
Args:
host: SSH server hostname or IP address (optional)
port: SSH server port (optional, default 22)
username: SSH username (optional)
password: SSH password for authentication (optional)
key_path: SSH private key file path for authentication (optional)
key_passphrase: SSH private key passphrase if needed (optional)
Returns:
Connection status
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| port | No | ||
| key_path | No | ||
| password | No | ||
| username | No | ||
| key_passphrase | No |