Create a new SSH host
POST
/ssh/db/host
Create a new SSH host configuration. Server: localhost:8081
Authorizations
bearerAuth
TypeHTTP (bearer)
Request Body
key
string
SSH private key file (optional)
Format
"binary"
data
string
JSON string containing host data
Responses
OK
application/json
{
"id": 0,
"name": "string",
"ip": "string",
"port": 0,
"username": "string",
"folder": "string",
"tags": [
"string"
],
"pin": true,
"authType": "string",
"password": "string",
"key": "string",
"keyPassword": "string",
"keyType": "string",
"enableTerminal": true,
"enableTunnel": true,
"enableFileManager": true,
"defaultPath": "string",
"tunnelConnections": [
{
}
],
"createdAt": "string",
"updatedAt": "string"
}