Easy instructions:
1) Download AppTapp Installer from
here.
2) Install AppTapp Installer.
3) Open Installer app on your iPhone.
4) Install Community Sources.
5) Install BSD Subsystem.
6) Install OpenSSH.
7) No go to Settings>Wi-Fi
8) Click the blue arrow next to the network you are connected to.
9) Write down your IP address.
10) Download or open an FTP client (For a list of some FTP Clients see the bottom of this post).
11) Create a new connection with the protocol SFTP (SSH Secure File Transfer Protocol).
12) Enter the IP address you wrote down as the host.
13) The port number is 22.
14) The username is "root" without the quotes.
15) The password is "dottie" without the quotes.
16) Click connect, and usually on the first try, you will be successful.
17) Voila! You're done, but running/having OpenSSH on your iPhone drains battery, so be aware.
Some
examples of FTP Clients:
Windows:
FireFTP (Mozilla Firefox plugin)
CuteFTP
SmartFTP
CoreFTP
WinSCP
Mac:
Cyberduck
Transmit
Hope this post helps!