Sometimes, due to unexpected circumstances, it is not possible to directly connect to the virtual machine instance. At this time, VNC or serial is useful. 1、 What are VNC connections and serial connections?
In simple terms, it means that a channel is opened in the master machine above the virtual machine to connect to the virtual machine. As for VNC or serial, it is essentially the same, depending on which is convenient for you to use.
VNC is generally used as a springboard to connect virtual machines, and serial is used to connect virtual machines directly.
In addition, VNC connection and serial connection, to be exact, should be called VNC console connection and serial console connection.
2、 Use Prerequisites
For the convenience of explanation, simply draw a flow chart
Client computer A --->computer creating connection B --->Oracle connection created --->Oracle Cloud virtual machine actually to be connected
A and B can be the same computer.
For PC B:
1. Since the OCI command is used, the OCI environment needs to be configured before everything starts. See the previous article《 Oracle Cloud Oracle Cloud Object Storage ObjectStorage API (OCI) Detailed Instructions 》In Environment Configuration This section will not be repeated here.
For computers A and B:
2. The SSH key pair is also required. It can be the same as that used when creating an instance. The connection is encrypted by SSH in essence, so it needs to be prepared before starting. If the key format is wrong during configuration, see the article《 Oracle Cloud Oracle Cloud Console Add API Key Format Error 》Processing.
The above two are prerequisites for creating a connection. When using:
For PC A or B:
3. For Windows: plink.exe
(The command link connection tool provided with PuTTY. You can install PuTTY or plink.exe separately);
For computer A, if you want to use VNC connection, you need to install support V first
]]>