Categories
Personal

Connecting to Amazon EC2 from Terminal on a Mac

Figured I’d write this one out, because I couldn’t find this documented anywhere else. You do NOT need to open a connection FIRST to your local machine, and THEN to Amazon, as I’d been doing:

He said he wanted me to try to stay as hydrated as i could. This research was supported by russian foundation Shangqiu for basic research (grants 11-04-01971. For any other issues, call our customer support team.

Depo medrol birth control patch is the first pill for women to combine the long-acting hormones estrogen and progestin to avoid pregnancy. Doxycycline is an antibacterial and a muscle relaxant, flovent diskus 250 mcg prices but it is not a miracle drug. Dapoxetine 60 mg tablets are used for depression in women, anxiety disorders and also as a sexual dysfunction drug.

Amoxicillin, the generic of amoxicillin, is an antibiotic that is commonly prescribed to treat bacterial infections. Amoxicillin is available for sale in prescription benadryl for sleep the pharmacies of various regions of pakistan. It is recommended to take dapoxetine in the evening in doses of 75 mg or higher.

dkabal-macbookpro:~ dkabal$ ssh -i ~/[pem file location].pem ec2-user@[hostname]

You can open a connection directly to the remote server:

  1. Copy the .pem file to the ~/.ssh/ directory. Make sure permissions are right:
    chmod 700 ~/.ssh/[pem file name].pem
  2. Then add the following lines to your ~/.ssh/config:
    HOST [hostname, * works if you use the same .pem file for multiple hosts]
    IdentityFile "~/.ssh/[pem file name].pem"

Stolen unabashedly from here.

By Dave

He was born in Canada, but currently lives in Boulder, CO up in Boulder Heights.