For the complete documentation index, see llms.txt. This page is also available as Markdown.

Ssh Key

SshKey

Validate a public SSH key

post

Validate a public SSH key against phpseclib

Authorizations
X-API-KeystringRequired
Body

Validate a public SSH key

stringOptional

The public SSH key that needs to be validated

Responses
200

Successful operation

application/json
statusstringOptional

OK if the validation succeeded

algorithmstringOptional

Algorithm used to generate the SSH key

Example: EC
messagestringOptional
post/api/v1/sshKey/validate
POST /api/v1/sshKey/validate HTTP/1.1
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 11

{
  "": "text"
}
{
  "status": "text",
  "algorithm": "EC",
  "message": "text"
}

Last updated

Was this helpful?