Skip to Main Content

Cloud Platform

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

cloud shell console connection to vm instance requires login/password

KossakJan 3 2023 — edited Jan 10 2023

I broke SSH configuration on my VM (ubuntu) and now I can't login to it (I changed ssh port, without modifying any firewall rules). Now I try to login to this VM through console connection (cloud shell or local connection) to fix it, but it asks me for login and password, which I don't have. Is there any way I can connect to this machine?
Connecting through "Console connection => Launch cloud shell connection" ends with:

Running instance console connection version 1
Instance type is x86_64
Running from 1 folder
2023/01/03 13:30:29 Fetching instance info.
2023/01/03 13:30:29 Looking for existing console connections.
2023/01/03 13:30:33 Waiting for Instance Console Connection to complete transition. Current state: CREATING
2023/01/03 13:30:36 Waiting for Instance Console Connection to complete transition. Current state: CREATING
2023/01/03 13:30:40 Instance Console Connection reached state: ACTIVE
2023/01/03 13:30:40 
=================================================
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

For more information about troubleshooting your instance using a console connection, see the documentation: https://docs.cloud.oracle.com/en-us/iaas/Content/Compute/References/serialconsole.htm#four
=================================================

myoravm login: 

The last line (login prompt) appears only when i press enter.

Comments
Post Details
Added on Jan 3 2023
3 comments
6,866 views