CLI

Overview

The oblien ssh command manages workspace SSH. Use an account connection to open the native shell with any SSH client.

Connect

Enable SSH once as the workspace owner, then get your connection:

oblien ssh enable <ws-id>
oblien ssh connection <ws-id>

The connection result contains ssh.host, ssh.port, ssh.username, ssh.password, the gateway fingerprint and expires_at. Use those values in your SSH client. For example, with the returned username and port:

Enter the temporary connection password when prompted. It is separate from the workspace account password. Verify the gateway fingerprint on first connection. Connections expire within one hour; run oblien ssh connection <ws-id> again when needed. Collaborators with runtime access use the same command after the owner enables SSH.

See SSH for SFTP, SCP and port forwarding.

Commands

Check SSH Status

oblien ssh status <ws-id>

Enable SSH

oblien ssh enable <ws-id>

Disable SSH

oblien ssh disable <ws-id>

Set workspace account password

oblien ssh set-password <ws-id> --password <password>

Set workspace public key

oblien ssh set-key <ws-id> --key "ssh-ed25519 AAAA..."

These optional account settings do not change the temporary connection password.

Examples

oblien ssh status ws_abc123
oblien ssh enable ws_abc123
oblien ssh set-password ws_abc123 --password mysecret
oblien ssh set-key ws_abc123 --key "ssh-ed25519 AAAA..."
oblien ssh disable ws_abc123