iPhone What is OpenSSH? Is it recommended?

Discussion in 'Jailbreaks and iOS Hacks' started by budmonster, Feb 12, 2014.

  1. budmonster macrumors regular

    Joined:
    Sep 20, 2013
    Location:
    Pittsburgh, PA
    #1
    - I see everyone talking about OpenSSH and some even recommending that you install after you JB. What is the purpose of it, what would I use it for? Is is the same thing as MobileTerminal?

    - Is Substrate Safe Mode v0.9.4000(no idea what it is) included in Cydia Substrate v0.9.5001? Whenever I installed Cydia Substrate v0.9.5001, Substrate Safe Mode seems to get installed along with it? And it seems that If I remove one the other one uninstalls also. Is this normal?

    Thanks.
     
  2. hackthatphone macrumors 68000

    hackthatphone

    Joined:
    Jul 28, 2010
    #2
    It's recommended for me as I need file system access and the ability to change permissions. Most people could probably get by with some other app on the phone like ifile or a program like diskaid.
     
  3. rick snagwell macrumors 68040

    rick snagwell

    Joined:
    Feb 12, 2011
    Location:
    oceanside, ca
    #3
    i use ifunbox, of course you have to be connected. easy to use GUI.
     
  4. dhlizard macrumors G4

    dhlizard

    Joined:
    Mar 16, 2009
    Location:
    The Jailbreak Community
    #4
    Substrate Safe Mode is a separate hack and it is very much required.
    This is a prime example of the benefit for being a self starter and using Google.

    Substrate Safe Mode allows the removal of a "bad" hack/tweak without requiring a full restore.

    http://www.idownloadblog.com/2014/01/15/substrate-safe-mode-update/
     
  5. darricksailo macrumors 601

    darricksailo

    Joined:
    Dec 18, 2012
    #5
    yes, it's kind of the same as MobileTerminal. it's useful if say you want to run a command using SSH via USB because you can't get the device to the home screen

    (and it is what semirestore for iOS 7 will be based on when it gets released)

    and yes, it's normal for cydira substrate and substrate safe mode to be bundled together
     
  6. budmonster, Feb 12, 2014
    Last edited: Feb 12, 2014

    budmonster thread starter macrumors regular

    Joined:
    Sep 20, 2013
    Location:
    Pittsburgh, PA
    #6
    Does OpenSSH protect the phone at all from hacking and what not? Should I just go ahead and install it? Is it the same thing as iFunBox, iExplorer, etc.
     
  7. hackthatphone macrumors 68000

    hackthatphone

    Joined:
    Jul 28, 2010
    #7
    When you install openssh you can easily change the root and mobile passwords.
     
  8. eyoungren macrumors Core

    eyoungren

    Joined:
    Aug 31, 2011
    Location:
    ten-zero-eleven-zero-zero by zero-two
    #8
    OpenSSH combined with NetaTalk are what allow me to mount my iPhone as a hard drive and copy files to and from my Mac via WiFi.
     
  9. BumpyFlatline macrumors 68030

    BumpyFlatline

    Joined:
    Apr 11, 2012
    #9
    You must change your passwords if you use OpenSSH. I change both mobile and root passwords. The cydia homepage has a link to step by step instructions. Do not install it if you do not change the default passwords.

    Installing this does not make your phone any safer from hackers.
     
  10. Intell macrumors P6

    Intell

    Joined:
    Jan 24, 2010
    Location:
    Inside
    #10
    Saurik, the developer of Cydia and one of jailbreaking's most knowledgeable people, highly recommends using OpenSSH instead of iFunbox, DiskAid, or anything else that uses the afc2 service. He also recommends uninstalling it and not installing it in the future when you freshly jailbreak your device.
     
  11. BumpyFlatline macrumors 68030

    BumpyFlatline

    Joined:
    Apr 11, 2012
    #11
    What exactly does your last sentence mean? I've read the first part of your quote regarding Saurik in the past, but your last sentence is confusing. Are you referring to OpenSSH? Why would he recommend not installing it if it's better than using an afc2 service?
     
  12. Intell macrumors P6

    Intell

    Joined:
    Jan 24, 2010
    Location:
    Inside
    #12
    To clarify, Saurik recommends removing and not installing a afc2 service in the future.
     
  13. darricksailo macrumors 601

    darricksailo

    Joined:
    Dec 18, 2012
    #13
    is it compatible with windows? (doesn't look like it is from what I see online). if not, do you know of any alternative equivalent to netatalk? sounds really nifty and convenient
     
  14. eyoungren, Feb 12, 2014
    Last edited: Feb 12, 2014

    eyoungren macrumors Core

    eyoungren

    Joined:
    Aug 31, 2011
    Location:
    ten-zero-eleven-zero-zero by zero-two
    #14
    Unfortunately, I'm not sure if there is anything for Windows. But I will keep an eye out.

    Netatalk is also written by Saurik and it leverages Appletalk, which of course is an Apple protocol.

    Here's my root drive mounted on my desktop. In the shared devices my iPhone is listed as YM12_iPH_64G. You can also mount the home drive if you want.
     

    Attached Files:

  15. Intell macrumors P6

    Intell

    Joined:
    Jan 24, 2010
    Location:
    Inside
    #15
    I think there is a SMB (Windows) file share server for iOS so that it'll be mountable on Windows.
     
  16. budmonster thread starter macrumors regular

    Joined:
    Sep 20, 2013
    Location:
    Pittsburgh, PA
    #16
    Ok, I guess it is of no use to me then. I just want to find out what all the hype was about. Thanks.
     
  17. BumpyFlatline macrumors 68030

    BumpyFlatline

    Joined:
    Apr 11, 2012
    #17
    Ah ok that makes more sense. Thanks for clarifying Intell.
     
  18. budmonster thread starter macrumors regular

    Joined:
    Sep 20, 2013
    Location:
    Pittsburgh, PA
    #18
    Isn't afc2 required so I can use apps like ifunbox and iexplorer so it can see the root folder? If I don't have afc2 installed I can't see my iPhones hidden folders. What should I be using then?
     
  19. darricksailo macrumors 601

    darricksailo

    Joined:
    Dec 18, 2012
    #19
    Yes, those programs use afc2add
     
  20. Intell macrumors P6

    Intell

    Joined:
    Jan 24, 2010
    Location:
    Inside
    #20
    While it is required to use afc2 for those programs, much better alternatives exist. Use something that does SFTP. It is not only more secure, but offers better file management and permissions setting.
     
  21. Supra Mac macrumors regular

    Joined:
    Jan 5, 2012
    Location:
    Texas
    #21
    If in boot loop, how do you get into the root directory to try to fix. I have SSH but doesn't it rely on wifi?
     
  22. Intell macrumors P6

    Intell

    Joined:
    Jan 24, 2010
    Location:
    Inside
    #22
    SSH is most often used by WiFi, but it can also with by a USB mux tunnel. It required less working processes within iOS than AFC2, it is not dependent on Springboard to be working (unlike AFC2), and is much better at fixing things because of the command line tools it provides access to.
     
  23. Supra Mac macrumors regular

    Joined:
    Jan 5, 2012
    Location:
    Texas
    #23
    Can you provide some steps on how to do that? I spent the last hour and a half trying to do it by searching and using command prompt and downloading some files (itunnel mux) but the instructions I found seem to be dated and I couldn't get it to work for my 5S. I'm using a Mac.
     
  24. Intell macrumors P6

    Intell

    Joined:
    Jan 24, 2010
    Location:
    Inside
    #24
    This page will give you everything you need to know: http://iphonedevwiki.net/index.php/SSH_Over_USB Also, starting with iOS 7, it'll only work if that device trusts the computer. If it has never trusted it and remembers trusting it, it won't work.
     
  25. caribsa macrumors regular

    Joined:
    May 11, 2013
    #25
    I use FileZilla. Computer in left pane and iPad in the right pane. It is so easy to navigate and move file back and forth between the panes.
     

    Attached Files:

Share This Page