---
title: "Import hosts from an OpenSSH config file"
method: POST
path: "/host/ssh-config-import"
tags: ["SSH"]
---

# Import hosts from an OpenSSH config file

`POST /host/ssh-config-import`

Parses an OpenSSH ~/.ssh/config file and imports the defined hosts.

## Request body

- object
  - `content` string, required — Raw text content of the SSH config file.
  - `overwrite` boolean

## Response `200`

Import completed.

## Other responses

- `400` — Invalid request body.

---

[API](https://skmtc.dev/termix/apis/termix-api.md) · [All operations](https://skmtc.dev/termix/apis/termix-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/termix/termix-api/revisions/f4ef343eff1b/schema)
