Get SSH settings
Whether Direct SSH is on, and the host, port, user and command to connect.
ssh_command is the command to connect, ssh -p <port> root@<host>. The keys themselves are never returned.
Direct SSH is for Linux computers. Owners and editors of the workspace can read it.
ipv4_port. Port 22 on ipv4_host is not your computer.enabled before you use them.
If the computer moves to another server, its host and port can change, so read them again rather than caching them.Authorizations
API key authentication. Get your key at orgo.ai/workspaces
Path Parameters
Computer ID. Accepts the computer's UUID or its instance_id.
Response
SSH settings
Whether SSH is on.
Whether a public key is saved. The keys themselves are never returned.
The address to connect to: the server the computer runs on.
The computer's SSH port. Null until SSH has been turned on once. It is kept after SSH is turned off, so check enabled.
Always null for now.
The user to log in as: root on Linux. Can be absent on some dedicated computers.
The command to connect, ssh -p <port> root@<host>. Null until SSH has been turned on once. It is still filled in after SSH is turned off, so check enabled before you use it.