Setup
The server needs SFTP turned on and an SSH account with access to the directory. Create a key and install it on the server, then check that SFTP answers:private_keytakes the key’s own text in place ofidentity_file’s path, so a credential pointer can read it from a secret store.- Without
identity_fileorprivate_key, the SSH agent and the default keys in~/.sshare tried.passwordworks too, but a key is preferred.
Connect
- YAML
- Python
- TypeScript
workspace.yaml
Layout
/remote/logs/app.logis/srv/data/logs/app.logon the server.- In Python,
hostalso matches a~/.ssh/configalias, and its settings apply. - Host keys are checked only in Python with
known_hostsset; the TypeScript VFS does not verify them.
Sample runs
mode: write allows changes, as far as the SSH account’s permissions allow.
To run programs on the server, use the SSH machine.
SDK guides
Python
Every config field, the VFS.md and write support.
TypeScript
Every config field, the VFS.md and write support.