1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
0
Hi , I understand you are trying to setup an SSH key before creating an instance and you are getting an error.Please correct me if I misunderstood.
I replicated this on my end following AWS documentation, using the following command:
aws lightsail create-key-pair \
--key-pair-name MyPersonalKeyPair
and I got a similar error. However, when I removed the backslash and make the one line command. I was able to create a new key-pair. This is how I did it:
- Installed and configured AWS CLI.
- I then created my SSH key with the following command on my powershell
aws lightsail create-key-pair --key-pair-name MyPersonalKeyPair > Karabo.json
You can verify that your key was created by going to the Lightsail console then click accounts. Go to SSH keys, your newly created key-pair will be on the list.
I hope this will be helpful!
con risposta 2 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 3 mesi fa
- AWS UFFICIALEAggiornata 5 mesi fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 3 anni fa
Have you seen this document on configuring PuTTY to connect via SSH? https://lightsail.aws.amazon.com/ls/docs/en_us/articles/lightsail-how-to-set-up-putty-to-connect-using-ssh