You need a jailbroken iPhone for this.
- use Cydia to install the OpenSSH package
- enable WLAN access and find your iPhone’s IP (see Settings → Wi-Fi → \ → IP Address)
- under Linux type:
ssh <IP address> -l root
; for Windows use PuTTY - (the first connection will need about 20-30 seconds1most probably the iPhone will generate some encryption keys here before you’ll be asked to accept the host key)
- use the following password:
alpine
(older iPhones useddotty
)
- 1most probably the iPhone will generate some encryption keys here