Prepare the connection
Complete SSH setup: authorize your public key on the target Computer, Start it if needed, and retrieve its currenthost, port, and user. Keep the private key on your local computer.
From your local terminal:
-P for the port. The lowercase -p option has another meaning. If you configured the SSH alias from the SSH guide, sftp deepest-work uses those same settings.
Expect an interactive sftp> prompt. Apply the same host-key checks as for SSH.
Upload and read back one file
Use a directory and filename you own; the following example usesreport.txt. At the SFTP prompt:
lcd changes the local directory inside the SFTP client; it does not change the parent terminal’s working directory after bye. put sends a local file to the remote path; get receives a remote file. Replace <LOCAL_DIRECTORY> with the same intended local path in both the transfer and verification steps. The /root destination is appropriate for the Developer Image’s root user; use a writable directory for the user returned by your endpoint.
For an integrity check with Python 3 available locally, explicitly enter that same local directory, then compare the source and downloaded copy:
Batch a repeatable transfer
Create a local batch file with only the operations you intend:transfer.sftp, then run:
Lifecycle and resource effects
Files uploaded to a Computer’s disk survive a normal Stop/Start. Stop interrupts active transfer connections, and Delete removes the Computer’s stored data. Export and verify important files before a destructive action. Transfer activity requires a Running Computer and therefore consumes running memory and shared CPU. Uploaded files consume Account storage. Guest filesystem free space and Account storage are different observations; a successful file deletion may not immediately release Account storage while snapshots retain blocks. See Storage reclaim. Key revocation blocks new SFTP connections under that grant. It is not a promise to terminate an already established transfer. A Clone does not inherit the source Computer’s Deepest SSH grants.Recover safely
Deepest documents standard SFTP put/get over the Computer’s SSH endpoint. SCP variants, filesystem extensions, and synchronization tools follow their own client and protocol compatibility. For SFTP commands and options, see the official OpenSSH SFTP manual.
For repository work, prefer Git workflows when version history and review are needed. For an interactive editor, see VS Code Remote SSH.