API Documentation

Connection Info

SSH/SFTP connection details including hostname, port, user, host-key fingerprint, and a ready-to-paste ~/.ssh/config snippet.

Required scope: webspace:read

Headers

Header Required Value
Authorization Yes Bearer YOUR_API_KEY

Response

{
  "data": {
    "host": "ws-0862c.sitequest.eu",
    "ip": "45.84.196.148",
    "port": 22,
    "username": "ws_0862c",
    "hostKeyFingerprint": "SHA256:abcd1234...",
    "sshConfigSnippet": "Host ws-0862c\n  HostName ws-0862c.sitequest.eu\n  User ws_0862c\n  Port 22\n  IdentityFile ~/.ssh/id_ed25519",
    "sshExample":  "ssh -p 22 ws_0862c@ws-0862c.sitequest.eu",
    "sftpExample": "sftp -P 22 ws_0862c@ws-0862c.sitequest.eu"
  }
}

Response Fields

Field Type Description
hostKeyFingerprint string | null SHA-256 fingerprint fetched live via ssh-keyscan (best-effort, may be null on probe failure).
sshConfigSnippet string Drop-in snippet for ~/.ssh/config.

Example

curl https://hosting.site.quest/api/v1/webspaces/69e80ac1.../connection-info \
  -H "Authorization: Bearer sq_live_..."

MCP

This action is also available via the webspace_get_ssh_info MCP tool.