[root@web-24499 ~]# ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:NAzBTKkheYA47KD/R0/uOF6udAw4RgBMq7hpXCK9krw root@web-24499
The key's randomart image is:
+---[RSA 2048]----+
|*+oo ++o |
|=o+.o +o |
|+o o.o + |
|+o ... . . |
|+o..+ . S |
|+++o ..o. |
|=+.. ..++ |
|... ..o=o |
| E o++o |
+----[SHA256]-----+
[root@web-24499 ~]#
二、设置VNC
进入甲骨文的控制台,打开实例的面板,在左下角找到控制台连接,点击创建控制台连接。