Welcome to iPadForums.net Guest - Click Here to Register

HOW TO - Use SSH for Wireless file transfer

This is a discussion on HOW TO - Use SSH for Wireless file transfer within the Jailbreaking & Hacking Tutorials & How-To Guides forums, part of the iPad Hacking category; 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 ...

Register with iPad Forums
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    iPad Enthusiast!
    Member #
    63228
    Join Date
    Jun 2011
    Location
    Saudi Arabia
    Posts
    60

    Post HOW TO - Use SSH for Wireless file transfer

    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!

    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 HOW TO - Use Secure Shell (SSH) with the iPad

    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!





    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!



    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.



    On Windows using WinSCP, your screen might look something like this...


    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...





    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:

    Quote Originally Posted by f4780y View Post
    Don't forget the golden rules!
    Finally, before you go off messing with your iPad files to your hearts content. Remember the golder rules:

    1. Backup iPad - Always have a recent backup of your iPad in iTunes so that if you mess something up by accident, you will be able to restore to a recent backup.

    2. Backup Copy - Before you mess with a file, take a quick copy of it (it's easy thanks to SSH). There are many files on your iPad where if you mess with them and make a mistake, a restore will be your only option unless you can restore a copy...
    Happy SSHing fellow jailbreakers!
    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 by Fr0st; 06-10-2011 at 06:07 PM. Reason: added WinSCP image at authors request

    OS: Ubuntu 11.04
    iProducts: Original iPad (64G /3G) redsn0w rc15

  2. Ads


  3. #2
    iPad Addict
    Member #
    27034
    Liked
    5 times
    Join Date
    Dec 2010
    Location
    Gettysburg, Pa
    Posts
    1,237
    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?

  4. #3
    Super Moderator
    Member #
    14571
    Liked
    596 times
    Join Date
    Sep 2010
    Location
    Troon, Scotland
    Posts
    7,049
    Great post Fr0st. Thanks for the contribution, and keep up the good work!

    EDIT - I've added a WinSCP screenie as requested.
    Last edited by f4780y; 06-10-2011 at 05:26 PM.
    15" MacBookPro with Retina Display 16GB 3.4GHz i7 256GB | iPad4 WiFi 32GB 6.1.2 (evasi0n) | iPad3 4G 64GB 6.1.2 (evasi0n) | iPad2 3G 64GB 5.1.1 (redsn0w) | iPad1 3G 64GB 4.3.3 (jbme) |
    iPhone5 32GB 6.1.2 (evasi0n) | iPhone4S 64GB 5.1.1 (absinthe) | iPhone4 32GB 4.3.3 (jbme) | iPhone3G 16GB 3.1.3 (jbme) | iPod Classic 6G 160GB (stock) | AppleTV 2G 5.0.2 (seas0npass)


    Please review the hacking section rules and our main rules before posting!

  5. #4
    iPad Enthusiast!
    Member #
    63228
    Join Date
    Jun 2011
    Location
    Saudi Arabia
    Posts
    60
    @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!

    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 by Fr0st; 06-10-2011 at 06:00 PM.

    OS: Ubuntu 11.04
    iProducts: Original iPad (64G /3G) redsn0w rc15


Advertisements

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Similar Threads

  1. New kid needs help please with file transfer,
    By Wert Twacky in forum iPad Help
    Replies: 6
    Last Post: 05-18-2011, 09:49 AM
  2. File Sharing, not file transfer
    By Terryfic in forum iPad Help
    Replies: 3
    Last Post: 05-10-2011, 10:25 AM
  3. Replies: 1
    Last Post: 04-19-2011, 06:40 PM
  4. Greetings im new :) (openssh file transfer ??)
    By SupraYaDig in forum New Member Introductions - Site Assistance
    Replies: 0
    Last Post: 02-11-2011, 04:03 AM
  5. file transfer
    By overbet in forum iPad General Discussions
    Replies: 2
    Last Post: 10-20-2010, 09:23 PM

Search tags for this page

filezilla ipad

,

how to use ifile

,
ipad wireless file transfer
,
openssh ipad
,

ssh file transfer ipad

,

ssh files to ipad

,

ssh ipad

,
ssh ipad filezilla
,
ssh to ipad
,

ssh wireless

,
transfer files to ipad wirelessly
,

wireless ssh

Click on a term to search for related topics.

Tags for this Thread