Save host config for ssh on mac

The most simple way to save host configurations for easy ssh’ing from Terminal on mac:
Add host entries to ~/.ssh/config file

This file doesn’t exist by default so you can easily create the file and add your host shortcuts.

For example, if you’d like to be able to type

user$> ssh MyHost

instead of ssh mycomplicatedhostname.host.com

Create the config file and add the following line:

Host MyHost
Hostname mycomplicatedhostname.host.com
Port 22
User myUser

iPhone app crash dumps

Generating Crash Reports from iPhone apps

It wasn’t obvious to me how to generate a crash dump from an iPhone add hoc deployment. It turns out that the iPhone OS creates a record of the crash event when it occurs. The next time you connect your device to iTunes, iTunes downloads the crash dump to your computer automatically.


Crash Reports on Macs

  1. Open a new finder window.

  2. Choose Go > Go to Folder.

  3. Enter ~/Library/Logs/CrashReporter/MobileDevice.

  4. Find the folder named after your device and go in there.

  5. There should be a file named after the application you’re testing.


Crash Reports from Windows

There are 2 places where windows may place your crash dump, replacing with your Windows user name shows them below.

Crash log storage on Windows Vista

C:\Users\\AppData\Roaming\Apple computer\Logs\CrashReporter/MobileDevice

Crash log storage on Windows XP

C:\Documents and Settings\\Application Data\Apple computer\Logs\CrashReporter

Once again, there is a folder named after your device’s name and a crash logs for the application you’re testing.