iPhone What is OpenSSH? Is it recommended?

budmonster

macrumors regular
Original poster
Sep 20, 2013
229
1
Pittsburgh, PA
- 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.
 

hackthatphone

macrumors 68000
Jul 28, 2010
1,588
1
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.
 

dhlizard

macrumors G4
Mar 16, 2009
10,213
118
The Jailbreak Community
-

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

darricksailo

macrumors 601
Dec 18, 2012
4,354
113
- 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.
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
 

budmonster

macrumors regular
Original poster
Sep 20, 2013
229
1
Pittsburgh, PA
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.
 
Last edited:

BumpyFlatline

macrumors 68030
Apr 11, 2012
2,666
0
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.
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.
 

Intell

macrumors P6
Jan 24, 2010
18,872
368
Inside
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.
 

BumpyFlatline

macrumors 68030
Apr 11, 2012
2,666
0
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.
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?
 

Intell

macrumors P6
Jan 24, 2010
18,872
368
Inside
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?
To clarify, Saurik recommends removing and not installing a afc2 service in the future.
 

darricksailo

macrumors 601
Dec 18, 2012
4,354
113
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.
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
 

eyoungren

macrumors Core
Aug 31, 2011
21,187
13,026
ten-zero-eleven-zero-zero by zero-two
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
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.
 

Attachments

Last edited:

Intell

macrumors P6
Jan 24, 2010
18,872
368
Inside
I think there is a SMB (Windows) file share server for iOS so that it'll be mountable on Windows.
 

budmonster

macrumors regular
Original poster
Sep 20, 2013
229
1
Pittsburgh, PA
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.
Ok, I guess it is of no use to me then. I just want to find out what all the hype was about. Thanks.
 

budmonster

macrumors regular
Original poster
Sep 20, 2013
229
1
Pittsburgh, PA
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?
 

Intell

macrumors P6
Jan 24, 2010
18,872
368
Inside
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?
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.
 

Supra Mac

macrumors regular
Jan 5, 2012
118
2
Texas
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?
 

Intell

macrumors P6
Jan 24, 2010
18,872
368
Inside
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.
 

Supra Mac

macrumors regular
Jan 5, 2012
118
2
Texas
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.
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.
 

caribsa

macrumors regular
May 11, 2013
122
0
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.
 

Attachments