Cannot SSH into Ubuntu (A1 Compute Instance)
I have just created an Ubuntu 20.04 instance which runs on VM.Standard.A1.Flex, but when I tried to connect to it via ssh it wouldn't work and gave me an error "Authentication failed (publickey)". I asked Oracle support and they sent me instructions, but the VM still won't connect.
Starting a new connection to: "126.96.36.199" port "22"
Starting address resolution of "188.8.131.52"
Address resolution finished
Connecting to "184.108.40.206" port "22"
Connection to "220.127.116.11" established
Starting SSH session
Remote server: SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.4
Agreed KEX algorithm: ecdh-sha2-nistp256
Agreed Host Key algorithm: ssh-rsa
Agreed server-to-client cipher: aes128-ctr MAC: hmac-sha2-256
Agreed client-to-server cipher: aes128-ctr MAC: hmac-sha2-256