Write SSH File
unfour.ssh.write_fileWrites or appends a remote file over SSH, requiring confirmation for test or high-risk paths and blocking production access by policy.
Instructions
Writes or appends a remote file through SSH. Dev allows ordinary project paths; test and high-risk paths require confirmation; prod is blocked by policy. The returned result contains only path/mode/byte counts and command status, never file content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| path | Yes | ||
| confirm | No | ||
| content | Yes | ||
| timeoutMs | No | ||
| workspaceId | No | ||
| connectionId | Yes | ||
| confirmationText | No | ||
| confirmation_text | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| warnings | No |