Managed

View Managed SSH Key

get
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.

Authorizations

Personal Access Token
OAuth: ( account:read_only)

Request Samples

curl -H "Authorization: Bearer $TOKEN" \
    https://api.linode.com/v4/managed/credentials/sshkey

Response Samples

{
  "ssh_key": "ssh-rsa AAAAB...oD2ZQ== managedservices@linode"
}

Responses

200: The requested Managed SSH public key.

ssh_key
string

The unique SSH public key assigned to your Linode account's Managed service.

default: Error

errors
array of objects
reason
string

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.

field
string

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.