How can I connect to AWS LightSail instance? AWS provides an web interface for doing this. But how can I do this with my terminal with SSH.
There are lots of documentations available for connecting from Windows with Putty.
How can I connect to AWS LightSail instance? AWS provides an web interface for doing this. But how can I do this with my terminal with SSH.
There are lots of documentations available for connecting from Windows with Putty.
topbar
, click in Account -> Account
.A
PEM
file with such naming is downloaded (e.g.LightsailDefaultKey.pem
)
chmod 400 LightsailDefaultKey.pem
ssh -i LightsailDefaultKey.pem user@<public-ip>
Note:
PEM
file when creating the key.By the type of instance you have, use the corresponding username
use @kernelogy answer but make sure you set permission to your ssh key
chmod 400 LightsailDefaultKey.pem
© 2022 - 2024 — McMap. All rights reserved.