跳至内容

Lightsail SSH - no private key and cannot access web SSH

0

Hello all!

I'm sorry to be taking your time by asking what I hope is a very simple explanation (but not sure if it will be). I have a Lightsail VPS running with Ubuntu 22.04. hosting a Moodle LMS system. The site itself has worked well until today.

I no longer have access to the PC which had the private key (beer and keyboards don't mix) and have tried to access the Web SSH but the system is throwing back a CLIENT_UNAUTHORIZED [769] error. I really need to gain access but I feel like this is a bigger problem.

Looking for any ideas or others that may have had this issue? I'm so sorry again!

已提问 3 年前444 查看次数

1 回答
0
已接受的回答

You can snapshot the Lightsail instance and then spin up a fresh instance - with a new SSH key - from the snapshot. See method 2 in https://repost.aws/knowledge-center/lightsail-troubleshoot-lost-ssh-keypair

专家

已回答 3 年前

专家

已审核 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。