---
title: "Create a temporary SSH connection without saving to database"
method: POST
path: "/host/quick-connect"
tags: ["SSH"]
---

# Create a temporary SSH connection without saving to database

`POST /host/quick-connect`

Returns a temporary host configuration for immediate use

## Request body

- object
  - `ip` string, required — SSH server IP or hostname
  - `port` number, required — SSH server port
  - `username` string, required — SSH username
  - `authType` 'password' | 'key' | 'credential', required — Authentication method
  - `password` string — Password (required if authType is password)
  - `key` string — SSH private key (required if authType is key)
  - `keyPassword` string — SSH key password (optional)
  - `keyType` string — SSH key type
  - `credentialId` number — Credential ID (required if authType is credential)
  - `overrideCredentialUsername` boolean — Use provided username instead of credential username

## Response `200`

Temporary host configuration created successfully

## Other responses

- `400` — Invalid request data
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Credential not found
- `500` — Server error

---

[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)
