HOW TO - Use SSH for Wireless file transfer

Discussion in 'Jailbreaking & Hacking Tutorials & How-To Guides' started by Fr0st, Jun 10, 2011.

  1. Fr0st
    Offline

    Fr0st iPF Novice

    Joined:
    Jun 7, 2011
    Messages:
    60
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    Saudi Arabia
    Ratings:
    +0 / 0
    Forward:
    This is a guide for those brave souls whom have already Jailbroken their iPads. Please do not ask me how to do manage files on Stock iDevices, because quite frankly you will (eventually) find that: there's an app for that! :D

    Introduction:
    iPad JailBroken? Don't see what all the fuss is about? Want to learn a new trick that you could do with your newly freed iDevice? Welcome to the world of wireless device management!

    What we will learn to do today is: to manage the data on your iPad that is sitting in the corner of the room, from the laptop/ desktop that you are using on the other side of the room. All this entirely wireless of course!

    The method we are going to employ to do these wireless transfers is called SSH. For more info on SSH go to http://www.ipadforums.net/jailbreak...ides/28213-how-use-secure-shell-ssh-ipad.html

    By the end of this guide, I hope that readers will be able to:

    1. Send files from a computer to iPad.
    2. Send files from iPad to a computer.
    3. View files on iPad using preferred app.
    4. Manage files on iPad from computer using wireless.

    Preparation:

    Before we start with the step-by-step instructions on how to achieve our above goals, we must prepare the iPad for Wireless management. We will need:

    • Wireless Internet, or your computer to be set up as a wireless AP. For the sake of this guide, I'll assume that you have wireless Internet.




    • Mobile Terminal, you can find this in Cydia. -WARNING- Do not use the version that is found on Cydia if you are running JB on 4.1+. It will not work! If you want to install it using Cydia, then add the following source to your repositories: Index of /repository/ They have an updated mobile terminal, and if you dont know how to add it then just go to Cydia>Sources>Edit>Add>Type Address>Add Source.




    • iFile, freeware found on Cydia. Please download and install.

    Procedure:
    Now that we have everything installed on our little iPad, we can begin with our first exercise! Let us try to send a file from our computer to our iPad!

    On the iPad, go to Setting>Wireless>Your Network's Name> Blue Arrow next to your network's name> Note your IP address. You will need this for later!


    [​IMG]


    Fire up your favorite SSH client. Windows users may use WinSCP, FileZilla or PuTTY, Mac users can use CyberDuck, and Linux users can either utilize their SSH command in their terminal or use Filezilla ( my personal choice ) . When trying to create a new connection on any client, clients will require a host to connect to, but where is the host Fr0st?! You haven't told us anything about that!

    In FileZilla, go to File>Site Manager> New Site>Name your new site (E.g iPad ).
    The host you are trying to connect with is: insert.ip.address.here (the address we noted down)
    Leave Port blank (it fills it automatically anyways) and choose SFTP-SSH Transfer Protocol. Logon Type should be Normal.
    In the user field enter: root
    As for the password, well: alpine ( if you haven't changed it ), or else you have followed f4780y's guide to the dot. If it is the later then type your password and give yourself a pat on the back from me, because I love it when people follow instructions properly!

    [​IMG]

    In a few seconds, you should see some crypt keys appear on your screen. The goal of the module is to be able to read and write crypto keys in any encoding (eg. PEM, SSH, etc.). In other words, it is a security measure (key) that saves to your computer for later use with the same device. Your computer will ask you if you want to keep this as a trusted source. Please click on yes.

    You should now be able to see two things: your computer's file system and your iPad's! Now all you need to do is find a file (photo, document,etc..) on you computer that you've been dying to see on the iPad, drag & drop, and Ta-da! You should be able to see it on your iPad's file system. This of course means you can also do the opposite, sending files from your iPad to your computer.

    [​IMG]

    On Windows using WinSCP, your screen might look something like this...
    [​IMG]

    EXAMPLE - Adding a PDF to the iBooks app without iTunes:
    Find a PDF on your computer, copy it to your Desktop so you can easily find it. Then navigate to: /private/var/mobile/Media/Books on your iPad, and drag and drop the pdf to /Books. After the transfer is completed- takes a second- open your iPad and start up iFile.

    There is a nice little tab on the top left called 'Sidebar', however if you can't find it that is due to the fact that you are holding your iPad in portrait mode (wide screen), and just means that you can see the sidebar to your left! (doh!) You will find Books under Places, find your PDF, tap on it once and choose what you want to open it with. E.g PDF Viewer, iBooks, Evernote, etc...


    [​IMG][​IMG]


    Congratulations! Now you can officially transfer files to and from your iPad, plus manage data remotely from your computer! Have fun managing your data, but remember the Golden Rules set out by f4780Y:

    This is my first guide ever, so please leave some comments on what you think of it!

    Constructive criticism is always welcome! :p
    Last edited: Jun 10, 2011
  2. OUTL4W
    Offline

    OUTL4W iPad Addict

    Joined:
    Dec 30, 2010
    Messages:
    1,231
    Thanks Received:
    5
    Trophy Points:
    38
    Location:
    Gettysburg, Pa
    Ratings:
    +5 / 0
    Nice 1st time guide....
    I just prefer using the wifi transfer functionality built into ifile.

    So....just curious....what benefits are there by using the ssh method vs using the wifi transfer functionality built-in to ifile? Security?
  3. f4780y
    Offline

    f4780y Super Moderator Staff Member

    Joined:
    Sep 11, 2010
    Messages:
    7,109
    Thanks Received:
    635
    Trophy Points:
    113
    Location:
    Troon, Scotland
    Ratings:
    +635 / 0
    Great post Fr0st. Thanks for the contribution, and keep up the good work!

    EDIT - I've added a WinSCP screenie as requested.
    Last edited: Jun 10, 2011
  4. Fr0st
    Offline

    Fr0st iPF Novice

    Joined:
    Jun 7, 2011
    Messages:
    60
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    Saudi Arabia
    Ratings:
    +0 / 0
    @OUTL4W:

    Do you mean the Webserver (Bonjour) function? If so then the answer is definitely, yes to security, specially in an environment where not all computers/devices using wifi connectivity can be trusted (schools, universities, cafes). It does not ask for a Crypt Key -mentioned in the guide- nor does it ask for a password! Would give us Linux junkies a heart attack!

    Further more there is the speed to which the transfers travel, and the number of transfers. I couldn't get more than one file to transfer on my first 5 minutes of tinkering, and that's pretty much how long I intend on spending on it... (no password makes Fr0sty sad)

    However, I must admit that it is a function that would be more than adequate for home use. Unless you have a problem with your little brother messing around with your files! *wink wink*

    Hey! To each his/her own as they say, so if you haven't tried this method, check it out. Who knows? You might just like it! :D

    P.S

    I plan on making a How To- Send Files from iDevice via SSH, you might be interested in that one too.


    @f4780y:

    Thanks comrade, couldn't have done it without your previous work and quick review! :)
    Edit: Just saw the screenie, thank you very much!
    Last edited: Jun 10, 2011

Share This Page

Search tags for this page
copy pdf to jailbroken ipad
,
how to transfer files from ibook to ubuntu computer wirlessly
,
how to transfer files from mac to jailbroken ipad
,
how to use filezilla to backup ipad to mac
,
how to use filezilla to transfer files to ipad
,
how to use ifile on ipad
,
how to use ssh for wireless file transfer
,
ifile and terminal transfwer
,
ipad photos folder name winscp
,
sending file using ifile with wifi
,
ssh from ipad files
,
ssh ipad copy ibook
,
transfer file to an ipad ssh
,

transfer files from jailbroken ipad to pc

,
transfer wireless ipad cydia
,
upload files to ipad ssh
,
use ssh to transfer ipad files
,
wireless ssh from ipad
,
wireless transfer jailbreak ipad
,
wirelessly transfer to ibooks cydia