Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!