ssh_connect_by_config_host
Connect to a remote host by specifying a hostname defined in your SSH config file. Supports optional authentication with username, password, or private key.
Instructions
使用SSH config文件中的主机名建立连接
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config_host | Yes | SSH config文件中的主机名 | |
| username | No | 可选用户名,覆盖config中的设置 | |
| password | No | 可选密码 | |
| private_key | No | 可选私钥文件路径 | |
| private_key_password | No | 可选私钥密码 |