To generate ssh keys for a passwordless login, type on the phone in StaSh launched in Pythonista for iOS:
$ mkdir $STASH_ROOT/.ssh
$ cd $STASH_ROOT/.ssh
$ ssh-keygen
$ mail -s 'public ssh key' -f id_rsa.pub [email protected]
Then on the server, add id_rsa.pub
from the e-mail, to be able to ssh
from the phone without a password:
server$ cat id_rsa.pub | tee -a ~/.ssh/authorized_keys