System Administration >
Configuration
>
Fabric
>
Nodes
>
File Store
Retrieve ssh fingerprint for given remote server
Retrieve ssh fingerprint for a given remote server and port.
Request:
Method:
POST
URI Path(s):
/api/v1/transport-nodes/{transport-node-id}/node/file-store?action=retrieve_ssh_fingerprint
/api/v1/cluster/{cluster-node-id}/node/file-store?action=retrieve_ssh_fingerprint
/api/v1/node/file-store?action=retrieve_ssh_fingerprint
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
SshFingerprintProperties
+
SshFingerprintProperties
(
schema
)
Name
Description
Type
Notes
port
Server port
Remote server port on which ssh connection is made.
integer
Required
Minimum: 1
Maximum: 65535
server
Remote server hostname or IP address
Server hostname/ip_address for which fingerprint has been retrieved.
string
Required
Pattern: "^.+$"
ssh_fingerprint
SSH fingerprint of server
Remote server's ssh fingerprint.
string
Example Request:
POST https://<nsx-mgr>/api/v1/node/file-store?action=retrieve_ssh_fingerprint { "port" : 22, "server": "192.168.120.151" }
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
SshFingerprintProperties
+
SshFingerprintProperties
(
schema
)
Name
Description
Type
Notes
port
Server port
Remote server port on which ssh connection is made.
integer
Required
Minimum: 1
Maximum: 65535
server
Remote server hostname or IP address
Server hostname/ip_address for which fingerprint has been retrieved.
string
Required
Pattern: "^.+$"
ssh_fingerprint
SSH fingerprint of server
Remote server's ssh fingerprint.
string
Example Response:
{ "port" : 22, "server": "192.168.120.151", "ssh_fingerprint" : "b5:08:df:c6:55:62:e4:6e:95:70:7c:25:ba:f2:46:f1" }
Required Permissions:
read
Feature:
system_administration
Additional Errors:
404 Not Found
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
412 Precondition Failed
500 Internal Server Error
503 Service Unavailable