Oct 072010
 

The first round of SSH clients for the iPhone presented some problems when connecting to Amazon Web Services EC2 Linux server instances. EC2 instances require a private certificate key file to be used to authenticate to the server during an SSH session. This lead to some workarounds where one had to export the iPhone’s key and add that key to the EC2 server instance. This wasn’t much fun to do. Thankfully, the latest versions of many SSH apps for the iPhone support private key imports. For my example bellow I’m going to be using the iSSH app:

1. Find the .pem key file saved during keypair creation in Amazon Web Services for the instance you launched.

2. Get the the content of the .pem file into the iPhone’s copy/paste memory. There are several ways to do this, here are two of them:

– 2a. Save the pem file to dropbox and open the file on the iPhone using the dropbox app (note you likely need to rename the pem to .txt in order for iOS to allow you to read the file).

– 2b. Open the .pem file with a text editor and copy the contents into a new email to an iPhone account

3. Open iSSH, go to General Settings -> Configure SSH Keys -> Import Key…

iSSH home screen

4. Paste the content of the .pem file into the lower text box; ignore the Key Password field unless you have specified one when generating the key separately (Amazon keys don’t typically have passwords).


Save the private key file

5. Go back to the iSSH home screen and select Add Configuration…

6. Select the Use Key and select the key file saved earlier.

Selecting the key

7. Save the configuration and connect to the server instance.

Connected to AWS EC2 Linux server

Oct 052010
 

Stuff breaks. Usually when I’m nowhere near a computer. These 4 apps help keep me sane:

1. Jaadu Remote Desktop (app store link). Pricey, but the best RDP client of the bunch. This plus the built in iPhone VPN client and I can access all of our Windows based servers.

2. Citrix Receiver (app store link). Only really applicable if you have significant Citrix investment (e.g. Citrix Access Gateway), but this app works great for a quick check on things in our hosted environment.

3. iSSH (app store link). Great SSH client for the iPhone. The private key import function (copy paste pem contents) is critical for using this app with Linux servers on Amazon Web Services.

4. iAWSManager (app store link). This is a fantastic app if you are heavy into Amazon Web Services. There is an amazing amount of functionality packed into it – CloudWatch monitoring graphs, EBS manipulation, security group access, etc. Given the choice, I won’t be launching new EC2 instances from the app because of the screen size, but it is amazing to have the option.

Oct 022010
 


Photos of hiking Sturtevant falls, Angeles National Forest

A month back we did a new (to us) hike to Sturtevant falls in Angeles National Forest. The trail head is at Chantry Flat, off Santa Anita Avenue in Arcadia. From there it drops down into the darkest and most lush SoCal valley I’ve been to. Black oaks tower overhead as you walk past tens of cabins along the dammed creek. The falls were nice, even at their dry point during the year. I can imagine that the upper pools would be quite large in the spring. We did the total hike in about an hour and a half, the only crappy part is the climb back up to Chantry Flat. Well worth the time if you are in the area.

More information: Dan’s Hiking Pages