ssh_stat
Inspect a remote file or directory's metadata using SFTP lstat on a configured SSH server, without following the final symlink. Use an exact server alias; credentials are handled server-side.
Instructions
Inspect a remote path through SFTP lstat on the selected server. The final symlink is not followed. SSH credentials are private server-side configuration. Never ask the user for a password. Use ssh_list_servers when the user has not supplied an exact configured alias.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| server | Yes | Exact configured server alias returned by ssh_list_servers. |