Skip to content

feat: add sandbox new command#25

Merged
crowlKats merged 1 commit into
mainfrom
sandbox-new-command
Dec 11, 2025
Merged

feat: add sandbox new command#25
crowlKats merged 1 commit into
mainfrom
sandbox-new-command

Conversation

@kt3k
Copy link
Copy Markdown
Contributor

@kt3k kt3k commented Dec 3, 2025

closes https://github.com/denoland/deployng/issues/2067

The idea discussed in sandbox design meeting.
part of https://github.com/denoland/deployng/issues/799

This PR adds deno deploy sandbox new command, which creates a new sandbox and make ssh connection to it.

The sandbox is disposed when the ssh connection is finished.

$ deno deploy sandbox new
ssh 2843653afe1dc1ecee040525ccd80d74@ssh.deno.net
daemon@acc835:~$ 
daemon@acc835:~$ whoami
daemon
daemon@acc835:~$ exit
logout
Connection to ssh.deno.net closed.
Stopping the sandbox...
$

Alternatively if ssh command not found in the host, it just keeps the sandbox running until the process is manually killed by the user.

$ deno deploy sandbox new
Started ssh session. You can now connect to be3158050a24ba2d4bca1b529dbe9b61@ssh.deno.net

Example:
  ssh be3158050a24ba2d4bca1b529dbe9b61@ssh.deno.net

Ctrl+C to stop the sandbox.
^C
Stopping the sandbox...
$ 

@kt3k kt3k requested a review from crowlKats December 3, 2025 05:36
Copy link
Copy Markdown
Member

@crowlKats crowlKats left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@crowlKats crowlKats merged commit 3f7c2f2 into main Dec 11, 2025
4 checks passed
@crowlKats crowlKats deleted the sandbox-new-command branch December 11, 2025 12:41
@kt3k kt3k mentioned this pull request Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants