Using Panic Prompt with EC2

15Apr11

Yesterday, Panic introduced Prompt, an SSH client for iOS. It took a little trial and error to get it working with EC2 .pem files, but I eventually succeeded. Since a lot of the blog comments show other users struggling with the same thing, here’s what worked for me.

  1. Your .pem file is an RSA private key. You need to generate an RSA public key from it. On Mac OS X, I did this by typing “ssh-keygen -y > foo.pub” and entering foo.pem when prompted for the key file.
  2. Make a copy of your foo.pem file to get rid of the extension. Now you have “foo” as the private key and “foo.pub” as the public key.
  3. If Prompt is running on your iPhone, do a hard exit (show the iPhone app switcher UI, long-press the Prompt icon to show the delete adornment).
  4. Connect the iPhone to your computer
  5. In iTunes, use File Sharing to transfer first foo.pub, then foo.
Hopefully you should see the key showing up in Prompt now.
Advertisement


6 Responses to “Using Panic Prompt with EC2”

  1. Great instructions, thanks. In step 2 it says ‘and “foo.pem” as the public key’ – presumably this is meant to be foo.pub (so that you’ve got foo and foo.pub).

  2. 3 T

    Thanks Joey, just wat I was waiting for! Works like charm.

  3. 4 Sarkazein

    Thanks so much for this! EC2 support was the one thing holding me back from getting Prompt.


  1. 1 Developing applications on the move « The All Seeing Pie
  2. 2 bdunagan – EC2 SSH on the iPad with Panic Prompt

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.