Today we are excited to announce a new feature on Daytona: the SSH Access.
The SSH Access makes it simple to connect directly to your sandboxes via SSH using secure, token-based authentication. This unlocks seamless access from your local machine, VSCode, Cursor, Windsurf, JetBrains IDEs, or even your own terminal, without needing any extra setup beyond generating a short-lived access token.
Why SSH Access?
Until now, most interaction with sandboxes happened through the Daytona dashboard or API. The SSH Access brings direct, low-latency terminal access, making sandboxes feel just like working on a local machine. With token-based authentication and automatic expiration, it is both developer-friendly and secure.
How It Works
Create an SSH Access Token
Generate a secure token from the dashboard or programmatically using the Daytona SDKs. Tokens are time-limited (default: 60 minutes) for added security.Connect via SSH
Run a single command to connect:ssh <token>@ssh.app.daytona.io
Use Your Favorite Tools
VSCode: Connect through the Remote Explorer extension and work directly inside your sandbox.
Cursor: Same flow as VSCode. Add your SSH connection and start coding.
Windsurf: Point Windsurf to your SSH Access connection and run your sandbox like a local dev environment.
JetBrains: Use JetBrains Gateway to spin up the IDE you want and run it inside the sandbox.
Your own terminal: Drop into the shell and work exactly as you would on your laptop.
Example: Creating an SSH Token
Daytona SDKs make it easy to generate SSH tokens programmatically.
Python
1from daytona import Daytona23daytona = Daytona()4sandbox = daytona.get("sandbox-abc123")56ssh_access = sandbox.create_ssh_access(expires_in_minutes=60)7print(f"SSH Token: {ssh_access.token}")
Typescript
1import { Daytona } from '@daytonaio/sdk'23const daytona = new Daytona()4const sandbox = await daytona.get('sandbox-abc123')56const sshAccess = await sandbox.createSshAccess(60)7console.log(`SSH Token: ${sshAccess.token}`)
Security Built In
Automatic expiration: SSH tokens default to 60 minutes.
Revocable anytime: Revoke a single token or all active tokens from the dashboard or SDK.
What This Means for Developers
The SSH Access is about flexibility and speed:
Work in your sandboxes using the tools you already know, including VSCode, Cursor, Windsurf, JetBrains, or your own terminal.
Switch between browser-based access and local IDEs with no friction.
Keep security top of mind with short-lived, revocable tokens.
Get Started
The SSH Access is available today for all Daytona sandboxes.
Try it now from your sandbox dashboard.
Or dive into the Daytona SDK to automate SSH access.
Daytona sandboxes just got a lot closer to feeling like your own machine.