Direkt zum Inhalt

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!

gefragt vor 3 Jahren444 Aufrufe

1 Antwort
0
Akzeptierte Antwort

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

EXPERTE

beantwortet vor 3 Jahren

EXPERTE

überprüft vor 3 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.