 <p>You will need to use the <code>~/.ssh/config</code> to specifiy the port. check the following link for a working example</p> <p><a href="http://www.seanodonnell.com/code/?id=56" rel="nofollow">http://www.seanodonnell.com/code/?id=56</a></p>