---
title: "GET /v0/vms/ssh"
method: GET
path: "/v0/vms/ssh"
tags: ["VMs"]
---

# GET /v0/vms/ssh

`GET /v0/vms/ssh`

## Query parameters

- `vm_id` string, required

## Response `200`

- VmorchGetSshResponse
  - `ssh_hostname` string, required
  - `ssh_port` integer, required
  - `ssh_host_keys` VmorchSshHostKeyInfo[], nullable
    - `key_type` string, required
    - `base64_encoded_key` string, byte, required
  - `last_successful_key_update` integer — Unix timestamp.
  - `last_attempted_key_update` integer — Unix timestamp.

## Other responses

- `401`
- `404`
- `500`

---

[API](https://skmtc.net/sfcompute/apis/san-francisco-compute-documentation.md) · [All operations](https://skmtc.net/sfcompute/apis/san-francisco-compute-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sfcompute/san-francisco-compute-documentation/revisions/93dd7661e9bb/schema)
