1. create ssh key
public@openBox ~ $ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/public/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/public/.ssh/id_rsa.
Your public key has been saved in /home/public/.ssh/id_rsa.pub.
The key fingerprint is:
xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:
2. create directory on iphone
mkdir /private/var/root/.ssh
3. put key on […]