Sunday, May 19, 2013

How to connect AWS vis SSH in Mac


  • Create a linux instance by AWS console
    • https://console.aws.amazon.com/ec2/v2/home?region=us-west-2
  • Check the instance and press the Actions button, then try to connect
    • It provides two options,
      • Connect with a standalone SSH Client
        • That's what I want to..
        • First, move yourname.pem file to /Users/yourUserName/.ssh
        • Second, change mod not to allow public access
          • such as, chmod 600 yourname.pem
        • Last, try to access via SSH
          • such as, ssh -i yourname.pem ec2-user@yourawspublicaddress.com
        • Remember that you should keep the first .pem file 
      • Connect from your browser using the Java SSH Client (Java Required)
        • Java required. If you don't, download it and restart your browser

No comments: