Foram várias tentativas. Não consegui.
Your Cloud Shell machine comes with 5GB of storage for your home directory. Your Cloud Shell (machine and home directory) are located in: Brazil East (Sao Paulo).
You are using Cloud Shell in tenancy ricardoretondaro as an OCI Local user ricardo_retondaro@hotmail.com
Type `help` for more info.
ricardo_re@cloudshell:~ (sa-saopaulo-1)$ cd dir
bash: cd: dir: No such file or directory
ricardo_re@cloudshell:~ (sa-saopaulo-1)$ dir
ricardo_re@cloudshell:~ (sa-saopaulo-1)$ cd .ssh
ricardo_re@cloudshell:.ssh (sa-saopaulo-1)$ ssh-keygen -b 2048 -t rsa -f cloudshellkey
Generating public/private rsa key pair.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in cloudshellkey.
Your public key has been saved in cloudshellkey.pub.
The key fingerprint is:
SHA256:UTNbj2WV9WX9oR6GujwvhMaODGY3skZjP7n6OBdXx20 ricardo_re@1a88afef54b6
The key's randomart image is:
+---[RSA 2048]----+
| + . o.O|
| . = = ++|
| . o + o +|
| o + E .|
| . S o + . |
| O + = o . |
| = O O o . |
| +.B . = |
| .o=oo +. |
+----[SHA256]-----+
ricardo_re@cloudshell:.ssh (sa-saopaulo-1)$ SHA256:UTNbj2WV9WX9oR6GujwvhMaODGY3skZjP7n6OBdXx20 ricardo_re@1a88afef54b6
bash: SHA256:UTNbj2WV9WX9oR6GujwvhMaODGY3skZjP7n6OBdXx20: command not found
ricardo_re@cloudshell:.ssh (sa-saopaulo-1)$ ssh opc@129.148.36.218
FIPS mode initialized
The authenticity of host '129.148.36.218 (129.148.36.218)' can't be established.
ECDSA key fingerprint is SHA256:1v6mCY2SMwFob9LVgJiySKSPfvdMDgS/VzkmpckPFA0.
ECDSA key fingerprint is SHA1:6rx/jTGY20THtwyF8jvf0ytbaaU.
Are you sure you want to continue connecting (yes/no)? no
Host key verification failed.
ricardo_re@cloudshell:.ssh (sa-saopaulo-1)$ ssh opc@129.148.36.218 -i cloudshellkey
FIPS mode initialized
The authenticity of host '129.148.36.218 (129.148.36.218)' can't be established.
ECDSA key fingerprint is SHA256:1v6mCY2SMwFob9LVgJiySKSPfvdMDgS/VzkmpckPFA0.
ECDSA key fingerprint is SHA1:6rx/jTGY20THtwyF8jvf0ytbaaU.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '129.148.36.218' (ECDSA) to the list of known hosts.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
ricardo_re@cloudshell:.ssh (sa-saopaulo-1)$ ssh opc @129.148.36.218 -i cloudshellkey
FIPS mode initialized
ssh: Could not resolve hostname opc: Name or service not known
ricardo_re@cloudshell:.ssh (sa-saopaulo-1)$ ssh opc@129.148.36.218 -i cloudshellkey
FIPS mode initialized
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
ricardo_re@cloudshell:.ssh (sa-saopaulo-1)$ ssh opc @129.148.36.218 -i cloudshellkey
FIPS mode initialized
ssh: Could not resolve hostname opc: Name or service not known
ricardo_re@cloudshell:.ssh (sa-saopaulo-1)$