bdy sandbox ssh
$bdy sandbox ssh|connect [options] <identifier> [args...]
Open an interactive SSH session to a sandbox Authenticates with the SSH key you added to your Buddy account - the session always runs as the buddy user, whatever login is sent Arguments for ssh itself, or a command to run instead of a shell, go after --
Examples
Open a shell in the sandboxbdy sb ssh sandbox-identifier$
Run a single command and exitbdy sb ssh sandbox-identifier -- ls -la$
Forward a sandbox port to localhostbdy sb ssh sandbox-identifier -- -L 8080:localhost:8080$
Authenticate with a specific private keybdy sb ssh sandbox-identifier -i ~/.ssh/id_ed25519$
Print the ssh command instead of running itbdy sb ssh sandbox-identifier --print$