Skip to content

Instantly share code, notes, and snippets.

@majindageta
Created July 8, 2019 13:12
Show Gist options
  • Save majindageta/a755c5be1272b818f04a821a02d6137b to your computer and use it in GitHub Desktop.
Save majindageta/a755c5be1272b818f04a821a02d6137b to your computer and use it in GitHub Desktop.
Create a LightSail instance
During creation, remember to change the region
when using a specific region a private key will be created
download the key
you can use the `ssh -i path/to/key user@host`
or you can add the private key (without the .pem extension) inside your .ssh folder, then
edit the config file with the user, url and path to the private key
to copy a file into lightsail, do not log into ssh, but use `scp /path/to/file user@host:./path/where/to/copy`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment