---
title: "SSH Config"
method: GET
path: "/api/v2/deployment/ssh"
tags: ["General"]
---

# SSH Config

`GET /api/v2/deployment/ssh`

## Response `200`

OK

- CodersdkSSHConfigResponse
  - `hostname_prefix` string — HostnamePrefix is the prefix we append to workspace names for SSH hostnames. Deprecated: use HostnameSuffix instead.
  - `hostname_suffix` string — HostnameSuffix is the suffix to append to workspace names for SSH hostnames.
  - `ssh_config_options` object

---

[API](https://skmtc.net/coder/apis/coder-api.md) · [All operations](https://skmtc.net/coder/apis/coder-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coder/coder-api/revisions/50a77af44008/schema)
