Labs - February 2, 2010

iPhone SSH over USB

Super easy,

  1. first install a .mobileconfig for your carrier to enable iPhone Tethering. on your iPhone goto http://help.benm.at/tethering.php and download a file appropriate for your carrier.
  2. turn iPhone tethering on (Settings -> Network -> Internet Tethering)
  3. Bonjour should now popup if your interface is enabled on your mac/pc with a name for your device, mine is Justins-Iphone.local (if bonjour does not pop up, give it a few seconds and open your network preferences, but sometimes it takes a couple of seconds to pick up on the connection)
  4. SFTP to said location with your favorite SFTP browser WinSCP to said name for me its (Justins-Iphone.local).

***Note this will only work on jailbroken iphones running OS 3.0 with SSH installed and running.