can not login to my instance by Serial Console Connection
Summarydont know the default password of root/ubuntu
I created an instance with ubuntu 20.04 minimal image, after login the server by ssh , i changed the iptables and sshd config,but before reboot , i didnt save the iptables.so i am locked out now.
I try to login with Serial Console Connection ,but i dont know the password .
How should i do now ?
IMPORTANT: Use a console connection to troubleshoot a malfunctioning instance. For normal operations, you should connect to the instance using a Secure Shell (SSH) or Remote Desktop connection. For steps, see https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/accessinginstance.htm