Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

tunasushi

macrumors newbie
Original poster
Sep 5, 2011
10
0
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!
 
I disagree

It's not possible without jailbreaking. The whole point is to give the user and his/her apps and tweaks access to root.

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
 
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.
 
How do you know its impossible?
Because that's what jailbreaking does! It gives you access to the root folder.

Also, wouldn't you have thought running windows or reading root files was impossible without jailbreaking? And i have done both of those
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.
 
Last edited:
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.
 
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. ;)
 
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. ;)

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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.