top of page

AWS key for Terminal on Mac

  • Writer: Jatin Madaan
    Jatin Madaan
  • Feb 7, 2019
  • 1 min read

To connect aws cluster (EMR or EC2) via terminal on mac .


First make sure you download pem file from aws account.


Once file has been downloaded save it on any location and give permission as 600 , Giving permission is important as with 777 or other permission it may create an issue and won't be able to connect to cluster.


command to run :


$ ssh -i <absolute path to pem file> user@ip


(ip in aws is given as xx-xx-xxx-xxx be sure to change it in ip format ie xx.xx.xxxx.xxxx )




Comments


  • linkedin

©2019 by Jatinmadaan

bottom of page