OpenSSH guide

Discussion in 'iPhone, iPod & iPad' started by alidsl, Sep 1, 2010.

Sep 1, 2010

OpenSSH guide by alidsl at 11:19 PM (717 Views / 0 Likes) 13 replies

  1. alidsl
    OP

    Member alidsl I am now a lurker

    Joined:
    May 27, 2009
    Messages:
    2,823
    Location:
    Kanto - Pallet Town
    Country:
    United Kingdom
    OpenSSH


    [​IMG]

    Warning:
    Do not delete a file that you don't know about


    An SSh guide written by Alidsl and Slyakin, for Gbatemp only

    If there is a theme you want to change of a deb file you want to install, this is what you want

    Firstly you need a jailbroken device, if you haven't yet jailbroken then look at this thread Complete jailbreak guide

    What is "SSH"?

    What SSHing your iphone/ipod touch is, is the ability to copy/move files to and from your device, in this Guide I will explain how to use it and how to install it. SSH stands for secure shell and can be use for remote access and executing commands to a computer (or iphone/ipod touch) miles away.



    Installation

    Windows

    There are a number of different SSH programs, personally I use WinSCP found here, installation is completely straightforward and all that is required to install is to run the file "winscp427setup.exe". When install is complete you can leave the program for now.

    Mac

    I don't own a mac but from what I have looked at a program named "cyberduck" is better than the already built in SSH client bundled with the mac OS, it can be found here

    iPhone/iPod touch/iPad
    For both windows and mac users

    [​IMG]

    Search on Cydia "OpenSSH", the program with the above icon will show up, download and reboot your device

    I recommend having SBsettings as well to turn SSH on and off.

    How to use

    Windows


    Run WinSCP. This screen will appear

    [​IMG]

    To find your host name go to settings -> wi-fi tap on the network you are currently using and copy the IP address into the host name box.

    [​IMG]

    For the user-name and password boxes

    User-name: root
    Password: alpine

    When you login you have succesfully SSHed your device [​IMG]
    [​IMG]



    Mac OS


    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    Changing the password for safety

    1. Download mobile terminal, search it on Cydia (Mobile terminal doesn't work on 3.2+ yet)
    2. Type ‘login’ command (without quotes) and then press enter.
    3. Now type ‘root’ (without quotes) as your login and ‘alpine’ as your current root password.
    4. Once you have logged in as root, type ‘passwd’ command (without quotes) again and press enter.
    5. It will now prompt you to enter a new password (twice). Simply enter your desired new password (for changing mobile password) and you should be all fine.

    Or you can try through iSSH
    It is highly recommended that you change, your root password to make sure you are completely safe from any outside SSH attack.


    Thanks to:

    >>Slyakin (co-writer)
    >>Comex
    >>Iphone dev-team
    >>Metamaster
     
  2. metamaster

    Member metamaster GBAtemp Advanced Fan

    Joined:
    Mar 7, 2010
    Messages:
    876
    Country:
    Canada
    Incredible guide, although it will only be useful for experienced hackers. This is pretty much useless info for noobs, and exposes the possibility of deleting some internal file. Also, mobile terminal doesn't work with 3.2 + either, so no iPads support. I had found a workaround, but I'm not sure if it works for os 4, but it does on the iPad. You have to use an iTunes app, iSSH, and login with your ip, root as username and your password. Then you continue like if you were on mobile terminal.
     
  3. alidsl
    OP

    Member alidsl I am now a lurker

    Joined:
    May 27, 2009
    Messages:
    2,823
    Location:
    Kanto - Pallet Town
    Country:
    United Kingdom
    Thanks I'll update with that tomorrow

    Thanks for the sticky [​IMG]
     
  4. Slyakin

    Member Slyakin See ya suckers

    Joined:
    Oct 15, 2008
    Messages:
    4,450
    Location:
    Soviet Slyakin
    Country:
    United States
    Great guide, and I'd be happy to offer screen shots of Cyber Duck if you'd like.

    It might take me some time though. [​IMG]
     
  5. alidsl
    OP

    Member alidsl I am now a lurker

    Joined:
    May 27, 2009
    Messages:
    2,823
    Location:
    Kanto - Pallet Town
    Country:
    United Kingdom
    Thanks Slyakin, it would help if you could write a guide for cyberduck too [​IMG]
     
  6. Slyakin

    Member Slyakin See ya suckers

    Joined:
    Oct 15, 2008
    Messages:
    4,450
    Location:
    Soviet Slyakin
    Country:
    United States
    Okay, do you want me to give you the pics or just start my own thread? I'll send the pics as needed. [​IMG]
     
  7. Jamstruth

    Member Jamstruth Secondary Feline Anthropomorph

    Joined:
    Apr 23, 2009
    Messages:
    3,456
    Location:
    North East Scotland
    Country:
    United Kingdom
    Is there any reason using SSH is any better than something like, say, iPhoneBrowser?
     
  8. alidsl
    OP

    Member alidsl I am now a lurker

    Joined:
    May 27, 2009
    Messages:
    2,823
    Location:
    Kanto - Pallet Town
    Country:
    United Kingdom
    Because on alot of iPod Touches (like mine) don't show the files properly or not at all

    Edit: @ slyakin I think it would be better to have one thread rather than two, if you pm me what you've done then I can add it to the guide and give you credit
     
  9. Supersonicmonk

    Member Supersonicmonk GBAtemp Fan

    Joined:
    Sep 12, 2009
    Messages:
    421
    Location:
    Cymru
    Country:
    United Kingdom
    I'm not sure why but SSH is faster than iPhoneBrowser or at least when I'm near the router and it doesn't require finding the lead which I always seem to loose
     
  10. Slyakin

    Member Slyakin See ya suckers

    Joined:
    Oct 15, 2008
    Messages:
    4,450
    Location:
    Soviet Slyakin
    Country:
    United States
    Cool, just wait for the PM!

    The pics have the instructions in them.
     
  11. alidsl
    OP

    Member alidsl I am now a lurker

    Joined:
    May 27, 2009
    Messages:
    2,823
    Location:
    Kanto - Pallet Town
    Country:
    United Kingdom
    Thanks Slyakin, it seems the guide is complete [​IMG]
     
  12. Slyakin

    Member Slyakin See ya suckers

    Joined:
    Oct 15, 2008
    Messages:
    4,450
    Location:
    Soviet Slyakin
    Country:
    United States
    Wai thank ya!

    I'd probably recommend spoiler tags though, cause it looks very... long. [​IMG]
     
  13. alidsl
    OP

    Member alidsl I am now a lurker

    Joined:
    May 27, 2009
    Messages:
    2,823
    Location:
    Kanto - Pallet Town
    Country:
    United Kingdom
    Nah I find spoilers make the guide look a bit messy for this kind of guide, besides It's not as long as some guides I've seen
     
  14. Slyakin

    Member Slyakin See ya suckers

    Joined:
    Oct 15, 2008
    Messages:
    4,450
    Location:
    Soviet Slyakin
    Country:
    United States
    Okay then. [​IMG]
     

Share This Page