can you plz help with console connection. by mistake i enabled Firewall d in my VM and I lost my access to terminal and filezilla. and unable to retrive the access.
@@MakerDad thanks for the fast reply. I deleted the SSH port in iptables by mistake and now I lost access to my instance. Not sure how to recover it. Any suggestions?
Yes, you can let me tell you how I did. I don't have any public key to connect through my ubuntu. So what I did I launch cloud shell connection as mentioned in the video and write my user name e.g. ubuntu you will find the user name below your public ip in compute instance. I just write 'ubuntu' in login and in the password I just enter my ubuntu my password (The password which I've set for ubuntu like we do on our local pcs.)
this did not work for me for some reason. my boot volume is probably corrupted and im trying to login to the instance using your method but did not work for me. it says wrong password
@@MakerDad i fixed it, thankfully i made a backup of my boot volume and made a new instance on it. but before that i did make a new instance on the corrupted boot volume and pasted the script but still did not work for me. but i did solve the issue in the end
can you plz help with console connection. by mistake i enabled Firewall d in my VM and I lost my access to terminal and filezilla. and unable to retrive the access.
would love to see some new videos from ya on things like oke and maybe cis landing zones customizing them things like that
Can you add the backdoor user on an existing machine?
not thru cloud init, as that only runs once.
@@MakerDad thanks for the fast reply. I deleted the SSH port in iptables by mistake and now I lost access to my instance. Not sure how to recover it. Any suggestions?
Yes, you can let me tell you how I did. I don't have any public key to connect through my ubuntu. So what I did I launch cloud shell connection as mentioned in the video and write my user name e.g. ubuntu you will find the user name below your public ip in compute instance. I just write 'ubuntu' in login and in the password I just enter my ubuntu my password (The password which I've set for ubuntu like we do on our local pcs.)
And once I login what I did I create a ssh key on local pc and then add the public key to authorized_keys filie in my server and that's it.
This should be an option directly from the OCI Console without having to use a cloud init script.
this did not work for me for some reason. my boot volume is probably corrupted and im trying to login to the instance using your method but did not work for me. it says wrong password
this only works for instances that have been provisioned with my cloudinit scriot. does not work for existing instances
@@MakerDad i fixed it, thankfully i made a backup of my boot volume and made a new instance on it. but before that i did make a new instance on the corrupted boot volume and pasted the script but still did not work for me. but i did solve the issue in the end