SSH

Use Cydia and install OpenSSH.

Run Terminal on your Mac and type:
ssh root@10.0.2.34
Use your own iPhone's IP address.

The password is:
alpine

Automatic ssh to iphone

copy ~.ssh/.pub file to /var/root/.ssh/authorized_keys need to create the .ssh folder