Check out Strongsync - a Revolutionary File Provider app for Big Sur and Apple M1

Strongspace SSH Keys API

Here is the API for listing, creating and removing [SSH Keys]( Successful API calls return HTTP status codes in the 200s and errors have codes 400 and higher. This will be documented more fully in the future when we’ve settled on all the error codes across a wider array of functions.

The [prettyjson]( command is optional, just for readability.
List your SSH Keys

GET /api/v1/ssh_keys


curl -u hemancuso/token:***** | prettyjson
“ssh_keys”: [
“name”: “jmancuso@mactop.local”,
“key”: “ssh-rsa AAAAB3NzaC1yc2EAAAABIw……Az4GLQHoVcyw== jmancuso@mactop.local”,
“id”: 1
“name”: “”,
“key”: “ssh-dss AAAAB3NzaC…ovUGhwtD41cHgxEzBeVvjkcN4=”,
“id”: 2
] }

Add SSH key

POST /api/v1/ssh_keys
:name [optional – key nickname]


curl -u hemancuso/token:***** -F ‘key=ssh-dss AAAAB3NzaC1kc3MAAACBAL….HgxEzBeVvjkcN4=’
{“status”: “ok”}

If the key already exits, it returns an error code and the body:

{“status”:”duplicate key”}

Delete SSH key

DELETE /api/v1/ssh_keys/:id


curl -X DELETE -u hemancuso/token:*****
{“status”: “ok”}

If the key doesn’t exist or user doesn’t have access:

{“status”: “permission denied”}