Recently I wanted to change default terminal application from Terminal.app to iTerm.app. While searching how to do it, I come across a very helpful application to adjust all kind of application defaults on Mac OS X, RCDefaultApp. Installation is very simple, just double click on the RCDefaultApp.prefPane file and System Preferences pane will prompt to install it. After the installation it will be added to Preferences pane as a new icon. Just open it and set the iterm as handler of ssh, telnet and x-man-page URLs. If you need to set an application as a default for certain type of extensions you can also do it here.