Managed
Managed SSH Key View
https://api.linode.com/v4/managed/credentials/sshkey
Returns the unique SSH public key assigned to your Linode account's Managed service. If you add this public key to a Linode on your account, Linode special forces will be able to log in to the Linode with this key when attempting to resolve issues.
This command can only be accessed by the unrestricted users of an account.
Request Samples
- Shell
- CLI
curl -H "Authorization: Bearer $TOKEN" \
https://api.linode.com/v4/managed/credentials/sshkey
Response Samples
- 200
- default
{
"ssh_key": "ssh-rsa AAAAB...oD2ZQ== managedservices@linode"
}
Responses
200: The requested Managed SSH public key.
The unique SSH public key assigned to your Linode account's Managed service.
default: Error
What happened to cause this error. In most cases, this can be fixed immediately by changing the data you sent in the request, but in some cases you will be instructed to open a Support Ticket or perform some other action before you can complete the request successfully.
The field in the request that caused this error. This may be a path, separated by periods in the case of nested fields. In some cases this may come back as "null" if the error is not specific to any single element of the request.