What's new in Customer Journeys?

Connect and learn more! ×
Unable to log in to ubuntu instance. ssh keys still require a password — Cloud Customer Connect
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

Unable to log in to ubuntu instance. ssh keys still require a password

Incorrect Answer
51
Views
2
Comments
edited Nov 28, 2023 12:35AM in OCI - General 2 comments

I lost access to the ssh key granted when initially creating my always free VM.Standard.A1.Flex running ubuntu 22.04 so I followed the guide from here https://docs.oracle.com/en-us/iaas/Content/Compute/Tasks/connect-to-linux-instance.htm#top. I downloaded a key for a console connection and tried to connect locally with ssh from a laptop running ubuntu 22.04. When running the ssh command

ssh -i ./ssh-key-2023-11-23.key -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa -o ProxyCommand='ssh -i ./ssh-key-2023-11-23.key -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa -W %h:%p -p 443 <provided url>' <provided url> -vvvv

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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