Locked out of my Linode - Permission Denied

Hello Everyone,

I have a fairly serious problem which i would really appreciate some help with.

I have a Linode where i host the websites i look after. I secured my linode using SSH key pair authentication. I disabled the ability to SSH into the server as root after reading it was advisable to do so.

My problem is that i had my laptop stolen. Now when i try and SSH into the VPS i am getting the "Permission denied (publickey)" using both root@ and @. This is to be expected as my stolen laptop has the required SSH key-pair and my new laptop does not.

I need to know if there is any other way to gain access to my linode. I am in panic mode at the moment because i cant gain access =(

Regards,

-Ben

4 Replies

http://library.linode.com/rescue-and-re … escue-mode">http://library.linode.com/rescue-and-rebuild#sph_booting-into-rescue-mode

Hi alexfornuto,

Thanks for the reply. I am still not entirely sure how i would solve my problem though.

do you have any more info on my issue?

Regards,

-Ben

In the Linode Manager:

1. Click on your linode.

2. Click the Remote Access tab.

3. Scroll down to Console Access.

4. Enter a password in Lish via SSH Password if you don't already have one and click Change Password.

5. Copy the line to the right of Lish via SSH (looks something like this: ssh linode123456@newark123.linode.com) into your terminal and press Enter.

6. Enter the password you just set when it prompts you.

From there on you can login using your regular user and password and change his key in ~/.ssh/authorized_keys to regain ssh access using youruser@yourlinode.

Hi limitedquantities,

Thanks, worked like a charm =)

Much appreciated,

-Ben

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct