ssh_ls
List files and directories on remote servers via SFTP. Connect using SSH keys or passwords to browse server contents and view detailed directory listings.
Instructions
List files in a directory on a remote host via SFTP.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | SSH hostname or IP address | |
| port | No | SSH port (default: 22) | |
| username | No | SSH username (default: current user) | |
| privateKeyPath | No | Path to SSH private key | |
| password | No | SSH password (prefer keys) | |
| path | Yes | Absolute path to the remote directory |