Locked myself out of SSH by installing firewalld
I installed firewalld and it caused me to exit the SSH session.
I couldn't log in with cloud shell because it asked me for password, and I'm not even sure if I had one set up. I have the original private key and public keys.
I tried SSHing via a serial connection through WSL, but it failed with the error:
$ ssh -i ssh.pub -o ProxyCommand='ssh -i ssh.pub -W %h:%p -p 443 ocid1.instanceconsoleconnection.oc1.iad.XXXX@instance-console.us-ashburn-1.oci.oraclecloud.com' ocid1.instance.oc1.iad.YYYY Unable to negotiate with 140.91.11.38 port 443: no matching host key type found. Their offer: ssh-rsa kex_exchange_identification: Connection closed by remote host Connection closed by UNKNOWN port 65535
Tagged:
0