This command enables you to get all of the information related to accessing the VNC for the instance, such as VNC/SSH IP address, SSH port, VNC port, SSH user, and SSH private key.
Syntax
oracle-compute get instancevnckey instance_name
Parameters and Options
The following parameters are specific to this command. You can also use the common options described in General Command Options.
| Parameter | Description |
|---|---|
| instance_name | Name of the instance. |
Example
$ oracle-compute get instancevnckey /mytenant/public/scae09-msg-mcspod-amqax1-8-instance/19e61c76-e50b-4570-9bad-de40ad40e615
Sample Output
$ oracle-compute get instancevnckey /mytenant/public/scae09-msg-mcspod-amqax1-8-instance/19e61c76-e50b-4570-9bad-de40ad40e615 -f json
{
"list": [
{
"vncip": "10.128.36.31",
"vnckey": "-----BEGIN RSA PRIVATE KEY-----\nMIIEoQIBAAKCAQEAwV....HtCEgy3iMsBYvmA==\n-----END RSA PRIVATE KEY-----",
"vnc_user": "19e61c76e50b45709badde40ad40e615",
"vncport": 5900,
"uri": "https://api/instancevnckey/mytenant/public/scae09-msg-mcspod-amqax1-8-instance/19e61c76-e50b-4570-9bad-de40ad40e615",
"vnc_sshd_port": 62300,
"name": "/mytenant/public/scae09-msg-mcspod-amqax1-8-instance/19e61c76-e50b-4570-9bad-de40ad40e615"
}
]
}