Try this slide77. In your sshd_config file AllowUsers directive set that to only you and PermitRootLogin to no. Generate a ssh key on you Iphone and place it on the server. If you are trying to gain access to files remotely the better way to do this is with scp and other tools that I am unsure if your Iphone supports.
This is list o various ways I can push and pull content.
Pull
rsync -r -v --progress -e ssh root@remote-server:/original/path /destination/path/
scp
foobar@hostB:~/myfile.txt /local/destination/path/
Copy a folder from one host to another by adding option -r
scp -r foobar@hostB:/remote/folder
Copy from one host to another with different ssh account.
scp
foobar@hostB:~/myfile.txt root@hostF:~/
ssh target_address cat remotefile > localfile
Push
scp myfile.txt foobar@hostB:/remote/send/to/path
ssh target_address cat <localfile ">" remotefile
tar -czf - /some/file | ssh root@192.168.2.100 tar -zxvf - -C /destination
scp -c blowfish -C Windows_LAMP_and_ASP_install_files.folder.tar root@192.168.2.10:/home/
scp -c blowfish Windows_LAMP_and_ASP_install_files.folder.tar root@192.168.2.10:/home/
scp Windows_LAMP_and_ASP_install_files.folder.tar root@192.168.2.10:/home/ #FASTEST
tar -czf - Windows_LAMP_and_ASP_install_files.folder.tar | ssh root@192.168.2.10 tar -zxvf - -C /home/
Push a directory on port 8008
scp -P 8008 -r /home/share root@192.168.2.4:/home/
rsync -e 'ssh -ax -c blowfish -p8008' -avz --progress /media/music/ root@192.168.2.9:/home/share/music/
rysnc with resume
rsync -r --partial --progress --ignore-existing --append --rsh=ssh my-local-folder-name user@destination-server:
Push and delete empty directories and extra files on the receiver.
rsync -r --partial --progress --ignore-existing --append --prune-empty-dirs --delete
Use this to test --dry-run and this to exclude certain files or directories --exclude='lost+found'