How it works
OpenSSH describes itself as the tool for remote login with the SSH protocol. A client opens a connection to the sandbox and gets a shell. The OpenSSH tools scp and sftp copy files. sftp works over SSH.
Keys, certificates and tokens
A sandbox can accept a key that you add to it. OpenSSH can also sign a user certificate with ssh-keygen. The -V option sets when a certificate starts and ends. A certificate that is used outside that window is not valid.
Some sandboxes use a token instead of a key. A token expires after a set time. The default lifetime differs by provider, so check it. Some providers let you revoke a token before it expires.
Editors
Some providers document how to attach an IDE to a sandbox over SSH. A preview URL is a different route. It forwards web traffic, not shell traffic.
What to check
- Whether the login uses a key, a token, or both.
- How long a key or token stays valid, and how to revoke it.
- Whether scp, sftp or an IDE works, and which shell you get.
- Whether an open SSH connection counts as activity for the idle timeout.