The Amazon cloud, explained.

Home / Blog / ElasticFox on Mac OS X

In our earlier videos, we configured the Amazon EC2 command line tools. The command line tools are great, but sometimes it is also nice to use a graphical user interface.

ElasticFox is a handy tool that provides exactly that. In the video below, we will illustrate how to configure this tool for Mac OS X.


10 Responses to “ElasticFox on Mac OS X”

  1. David Walend Says:

    I’m having trouble establishing the ssh connection. I’m getting

    > ssh -i /home/dwalend/ec2-keys/id_dwalend3 root@ec2-75-101-244-122.compute-1.amazonaws.com
    Warning: Identity file /home/dwalend/ec2-keys/id_dwalend3 not accessible: No such file or directory.

    at the prompt.

    In ec2-keys:

    ls -al

    total 40
    drwx–x–x 2 dwalend users 4096 Feb 27 16:00 ./
    drwxr-xr-x 26 dwalend users 8192 Feb 27 16:00 ../
    -rw——- 1 dwalend users 4096 Feb 27 16:00 ._id-dwalend3
    -rw——-@ 1 dwalend users 1672 Feb 27 16:00 id-dwalend3

    which is a bit odd.

    ls -al@

    drwx–x–x 2 dwalend users 4096 Feb 27 16:00 ./
    drwxr-xr-x 26 dwalend users 8192 Feb 27 16:00 ../
    -rw——- 1 dwalend users 4096 Feb 27 16:00 ._id-dwalend3
    -rw——-@ 1 dwalend users 1672 Feb 27 16:00 id-dwalend3
    com.apple.quarantine 46

    xattr -d com.apple.quarantine id-dwalend3

    gets rid of the quarantine.

    ls -al@

    drwx–x–x 2 dwalend users 4096 Feb 27 16:13 ./
    drwxr-xr-x 26 dwalend users 8192 Feb 27 16:00 ../
    -rw——- 1 dwalend users 1672 Feb 27 16:00 id-dwalend3

    but still no love from ssh:

    ssh -i /home/dwalend/ec2-keys/id_dwalend3 root@ec2-75-101-244-122.compute-1.amazonaws.com
    Warning: Identity file /home/dwalend/ec2-keys/id_dwalend3 not accessible: No such file or directory.
    Permission denied (publickey,gssapi-with-mic).

    Any thoughts on what to try next?

    Thanks,

    Dave

  2. admin Says:

    Hmmm, well my permissions look slightly different for the key. They are:

    -rw-r–r– 1 ericlee staff 1675 Feb 23 17:38 newkey.pem

    I know Mac OS X is pretty picky about permissions, so not having group read might be causing the problem?

  3. David Walend Says:

    Thanks for replying.

    I’ve got the same problem on Ubuntu (plus the annoying quick close of the terminal).

    Using the home lap top instead of the work machine (and my own account instead of the company’s), MacOS, and now Ubuntu via parallels. The file permissions on Ubuntu are just rw.

    Any thoughts on what might be wrong? Only thing I can guess is that I’m repeatedly mistyping the secret.

    Thanks,

    Dave

  4. admin Says:

    That could be it - one quick thing to check is when you cut-and-paste the secret from the Amazon web site, you often get a leading or trailing space. That will mess things up. I usually copy it into a text editor and remove spaces.

    Thanks!

    Eric.

  5. David Walend Says:

    I don’t think that’s it. With a space in the secret, I don’t see any images. I’m able to see them and start them. I just can’t log in.

    No luck with the pure ubuntu machine either.

    What else should I check? I’m going to try the ec2 java tools. If no luck there, I’ll do some deep reading about ssh.

    Thanks,

    Dave

  6. David Walend Says:

    Found it. Underscores vs. hyphens. EC2 and ElasticFox use both. The key pairs are id_your-string.

    Thanks for the help,

    Dave

  7. admin Says:

    Ah gotcha, glad you were able to find the problem.

    Thanks!

    Eric.

  8. admin Says:

    Oh I should mention - have you tried the Amazon EC2 Console yet? It was released after I made this video - it is really nice and worth giving a try.

    https://console.aws.amazon.com/ec2/home

  9. Chris Rowe Says:

    Thanks for the chmod tip, I was getting the

    WARNING: UNPROTECTED PRIVATE KEY FILE!

    and that fixed it

    chmod go-rw id_[Your keyname]

  10. admin Says:

    Glad to help; yeah that one got me stuck for a bit too. I’ve only ever seen that on the Mac.