-
Notifications
You must be signed in to change notification settings - Fork 30
prime sandbox ssh #244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
prime sandbox ssh #244
Conversation
JannikSt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check edge case:
- Start ssh on machine A (your laptop)
- Bootup a VM + authorize
- Try to access same sandbox with ssh frorm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
Note
Introduces SSH connectivity and TCP port exposure across SDK and CLI, plus a demo.
prime_sandboxes): AddprotocoltoExposePortRequest; extendExposedPortwithexternal_port/external_endpoint; newSSHSessionmodel and exports.SandboxClient/AsyncSandboxClient:expose(..., protocol),list_all_exposed_ports(),create_ssh_session(),close_ssh_session().prime sandbox):exposesupports--protocol HTTP|TCPwith protocol-aware output;list-portscan list for one sandbox or all; newsshcommand creates ephemeral SSH sessions, authorizes key via gateway, connects, and cleans up.sandbox_port_expose_demo.pyshowing HTTP and TCP exposure with verification.Backwards compatibility maintained (default protocol HTTP).
Written by Cursor Bugbot for commit 5cf5832. This will update automatically on new commits. Configure here.