Passer au contenu

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!

demandé il y a 3 ans441 vues

1 réponse
0
Réponse acceptée

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

EXPERT

répondu il y a 3 ans

EXPERT

vérifié il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.