SSH Access
You can connect to any of your sandboxes via SSH using token-based authentication.
Creating an SSH Access Token
To connect to a sandbox, you’ll need to create an SSH access token first. This token provides secure, time-limited access to your sandbox.
SSH access can be initialized from the dashboard by opening the sandbox’s options menu and selecting Create SSH Access.
It can also be initialized programmatically using one of the SDKs listed below.
- Python
- TypeScript
- Ruby
Connection Command
Once you have your token, connect using:
ssh <token>@ssh.app.daytona.io
Connecting with VSCode
Connecting your local VSCode to a sandbox requires a few simple steps:
- Make sure that the Remote Explorer extension is installed in your VSCode.
- Add a new SSH connection
- When prompted for the SSH connection URL, paste your SSH command from above.
Find out more about the extension here.
Connecting with JetBrains IDEs
Connecting your local JetBrains IDEs to a sandbox requires a few simple steps:
- Download the JetBrains Gateway app to your local machine.
- Add a new connection.
- When prompted for the SSH connection URL, paste your SSH command from above.
- Choose an IDE you want installed in your sandbox.
Managing SSH Access
Token Expiration
SSH access tokens expire automatically for security:
- Default: 60 minutes
Revoking Access
You can revoke SSH access tokens at any time:
- Python
- TypeScript
- Ruby