Need help on enabling SSH on non-jailbroken iPhone (around 70% finished)

Discussion in 'Jailbreaks and iOS Hacks' started by tunasushi, Nov 20, 2011.

  1. tunasushi macrumors newbie

    Joined:
    Sep 5, 2011
    #1
    I have been trying to enable SSH on a non-jailbroken iPhone with iDos and iExplorer. Here are the unfinished steps

    1. You have to have downloaded iDos on the one day it was one the app store.
    2. Access root on iDos by typing: "mount d /." without quotes, and you have to put the period after the /
    3. Get OpenSSH files at http://apt.saurik.com/cydia/debs/openssh_5.8p1-9_iphoneos-arm.deb
    4. Extract and copy the data folder to iphone with iexplorer to the documents folder of the iDos app
    5. This is where i need help! you would normally do "copy data\usr\sbin\sshd d:\usr\sbin\" but i dont have write permissions for the root folders

    Could someone please tell me how to change the permissions of the root folders, remember that i am using msdos on a unix file system, so i can't use "login root" or any other linux commands. Also please don't post "its easy, use iFile" because the whole purpose of this is to ssh without jailbreak. Thanks!
     
  2. QuarterSwede macrumors G3

    QuarterSwede

    Joined:
    Oct 1, 2005
    Location:
    Colorado Springs, CO
    #2
    It's not possible without jailbreaking. The whole point is to give the user and his/her apps and tweaks access to root.
     
  3. tunasushi thread starter macrumors newbie

    Joined:
    Sep 5, 2011
    #3
    I disagree

    How do you know its impossible? Someone has to try to prove your theory wrong, and i hope to do it. Also, wouldn't you have thought running windows or reading root files was impossible without jailbreaking? And i have done both of those
     
  4. Dwalls90 macrumors 601

    Dwalls90

    Joined:
    Feb 5, 2009
    #4
    Jailbreaking is basically the act of accessing the root directory. Cydia is just the app store that can be installed as a result of this access.

    Same goes for Android, except they actually call it "rooting".

    That said, I don't understand how you could access the root directory without jailbreaking since they are more or less one in the same.
     
  5. QuarterSwede, Nov 20, 2011
    Last edited: Nov 20, 2011

    QuarterSwede macrumors G3

    QuarterSwede

    Joined:
    Oct 1, 2005
    Location:
    Colorado Springs, CO
    #5
    Because that's what jailbreaking does! It gives you access to the root folder.

    Windows and OS X both come with access to root. In Windows 7 and Lion access is more hidden but it's still there.

    iOS is different in that Apple has sandboxed everything so no apps have access to root. That's the entire point of jailbreaking. It gives the user access to the root folder and disables iOS's security checks that ensure all apps stay sandboxed and are signed. If an app isn't signed by Apple then it won't run. That's why you can only get apps from the App Store if you aren't jailbroken.
     
  6. yrchern macrumors member

    Joined:
    Jun 14, 2007
    #6
    Because http://apt.saurik.com/cydia/debs/ope...honeos-arm.deb is not signed by Apple, hence it won't run on non-jailbroken devices.
     
  7. labman macrumors 604

    labman

    Joined:
    Jun 9, 2009
    Location:
    Mich near Detroit
    #7
    tunasushi I hate to tell you QuarterSwede is correct other wise we wouldn't need to jailbreak to start with. ;)
     
  8. tunasushi thread starter macrumors newbie

    Joined:
    Sep 5, 2011
    #8
    OK, i will rephrase what i said before. I accessed root without jailbreaking (iDos), but plan to go farther and jailbreak manually to understand how it works.

    ----------

    I still would be happy if someone posted on how to change permissions from msdos on a unix file system.
     
  9. Carlanga macrumors 604

    Carlanga

    Joined:
    Nov 5, 2009
    #9
    Jb is getting access rights to root. Even if you do successfully do SSH w iDOS the procedure you are doing IS a jailbreak by definition; even though you probably will not get access to root. ;)
     
  10. Applejuiced macrumors Westmere

    Applejuiced

    Joined:
    Apr 16, 2008
    Location:
    At the iPhone hacks section.
    #10
    Yep.
    Another newbie with a genius question:)
     
  11. labman macrumors 604

    labman

    Joined:
    Jun 9, 2009
    Location:
    Mich near Detroit
    #11
    lucky for us there is always another newbie around the corner.. oh wait we don't get paid for this!!! Damn it! :mad:
     
  12. tunasushi thread starter macrumors newbie

    Joined:
    Sep 5, 2011
    #12
    now I'm stuck, I got iDos on the app store and accessed root with it, does that void the warranty? I'm talking about before I tried to install ssh
     

Share This Page