We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
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

can not login to my instance by Serial Console Connection

Accepted answer
6
Views
7
Comments
edited Aug 15, 2021 3:25AM in Oracle Cloud Infrastructure - General 7 comments

Summary

dont know the default password of root/ubuntu

Content

Hi,guys

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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