Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
iFile's web server does not use either OpenSSH or AFC2. Thus, it would not be an example of such an application that uses AFC2 via iTunes' WiFi sync.

oh, thought you just just meant the iOS device's file system can be browsed over wifi over the local network with a program without the ssh or afc service
 
Use OpenSSH and an SFTP client. Do not use afc2 or iFunBox.

Could you link me to a tutorial on how to setup OpenSSH and WinSCP? Does WinSCP allow transfers over wifi so I don't have to plug my iPhone into my PC? And do I use MobileTerminal for OpenSSH or is OpenSSH it's own app? If OpenSSH has the same features as iexplorer or ifunbox has I have no problem learning how to use it, I just need a detailed guide on OpenSSH and SFTP. I'll use WinSCP since that is what you use unless there is something easier.
 
Could you link me to a tutorial on how to setup OpenSSH and WinSCP? Does WinSCP allow transfers over wifi so I don't have to plug my iPhone into my PC? And do I use MobileTerminal for OpenSSH or is OpenSSH it's own app? If OpenSSH has the same features as iexplorer or ifunbox has I have no problem learning how to use it, I just need a detailed guide on OpenSSH and SFTP. I'll use WinSCP since that is what you use unless there is something easier.

yes, you can use ssh over wifi

install openssh and mobileterminal from cydia
open mobileterminal and type in "su root"
type in the password "alpine"
type in "passwd"
change the password
type in "passwd mobile"
change the password

install winscp onto your computer
now run winscp
set file protocol as SFTP
type the internal IP of your iDevice under host name (to check, go to settings -> wifi -> network name "i" button -> IP address). for example, let's say it was 192.168.1.2
leave port number as 22
type in "root" for username
type in "(the assigned password you made)" for password

this will enable you to browse your file system using openssh over wifi (do note that speeds will depend on the computer's network speed you're using, the router, and the device's network speed which is usually slower than via USB)

for example, you have an ethernet cable connected to the router from the computer (that means your computer will not be what's limiting the speed). if you have a top notch wireless-n router (such as the ASUS RT N66U), then your router will most likely not be the bottle neck. In that case, your iphone or idevice would be the bottleneck

if you have a generic wireless-n router (which is usually the case if you're using the one your ISP provides), then speeds will be pretty bad too

openssh itself is the package that provides the functionality of many things (including file transfers and running command lines). mobile terminal is used for running command lines on the device (in this case, to change the root and mobile password of your device; think of it like command window/terminal on linux based OS's, or to a lesser degree: terminal on mac os and command prompt on windows)

hope that does help
 
yes, you can use ssh over wifi

install openssh and mobileterminal from cydia
open mobileterminal and type in "su root"
type in the password "alpine"
type in "passwd"
change the password
type in "passwd mobile"
change the password

install winscp onto your computer
now run winscp
set file protocol as SFTP
type the internal IP of your iDevice under host name (to check, go to settings -> wifi -> network name "i" button -> IP address). for example, let's say it was 192.168.1.2
leave port number as 22
type in "root" for username
type in "(the assigned password you made)" for password

this will enable you to browse your file system using openssh over wifi (do note that speeds will depend on the computer's network speed you're using, the router, and the device's network speed which is usually slower than via USB)

for example, you have an ethernet cable connected to the router from the computer (that means your computer will not be what's limiting the speed). if you have a top notch wireless-n router (such as the ASUS RT N66U), then your router will most likely not be the bottle neck. In that case, your iphone or idevice would be the bottleneck

if you have a generic wireless-n router (which is usually the case if you're using the one your ISP provides), then speeds will be pretty bad too

openssh itself is the package that provides the functionality of many things (including file transfers and running command lines). mobile terminal is used for running command lines on the device (in this case, to change the root and mobile password of your device; think of it like command window/terminal on linux based OS's, or to a lesser degree: terminal on mac os and command prompt on windows)

hope that does help

thank you, this is what i need all along, a detail guide. you've been extremely helpful. i just have a few more questions if you don't mind.

- what is the difference between the passwd & passwd mobile? i made them both the same for now so i could remember them but why do i have two passwords for?

- i installed winscp like you said, is this correct?


- will winscp do everything that say iexplorer or diskaid would do, is winscp my best/safest sftp choice?

- do you know where i can get mobileterminal for ios7? all i can find in the repos is for ios6, unless there is another app i can use that is similar to mt?
 
Last edited:
thank you, this is what i need all along, a detail guide. you've been extremely helpful. i just have a few more questions if you don't mind.

- what is the difference between the passwd & passwd mobile? i made them both the same for now so i could remember them but why do i have two passwords for?

- i installed winscp like you said, is this correct?


- will winscp do everything that say iexplorer or diskaid would do, is winscp my best/safest sftp choice?

you can have the same password for both. you just want to change the password for both

if you change only the root password, then someone could ssh into your device as mobile with the default password "alpine". the same if you only change your mobile password

just click yes and you can continue with the ssh (this will happen everytime you use a different client or you restore your device or something)

uhm, i'm not sure if it'll do everything that those apps can do but it will enable you to browse your file system via wifi, as you have shown me in your screenshots

whether winscp is the safest or best client, i don't know, but that is the client i use. there are other GUI clients too such as filezilla
 
from the link: http://iphonedevwiki.net/index.php/SSH_Over_USB
it appears iFunBox will allow you to browse your file system via SSH over USB

i'm not exactly sure why afc isn't safe

- why would i need ssh over usb? isnt using winscp just fine, wireless and all? are you saying that if i want to access my phones private files without being on wifi i would need to use usbmuxd?

- do you know where i can get mobileterminal for ios7? all i can find in the repos is for ios6, unless there is another app i can use that is similar to mt?

edit: i almost forgot. i've must of jailbroke and restored my phone numerous times this week. could cydia have left any junk on my phone? at times my phones performance dropped. would a program like ilex rat be needed or is my phone completely cleaned and wiped once i do a restore?
 
Last edited:
- why would i need ssh over usb? isnt using winscp just fine, wireless and all? are you saying that if i want to access my phones private files without being on wifi i would need to use usbmuxd?

- do you know where i can get mobileterminal for ios7? all i can find in the repos is for ios6, unless there is another app i can use that is similar to mt?

edit: i almost forgot. i've must of jailbroke and restored my phone numerous times this week. could cydia have left any junk on my phone? at times my phones performance dropped. would a program like ilex rat be needed or is my phone completely cleaned and wiped once i do a restore?

If your phone can not boot and connect to wifi, you still want access to it and can possibly fix it.
 
- why would i need ssh over usb? isnt using winscp just fine, wireless and all? are you saying that if i want to access my phones private files without being on wifi i would need to use usbmuxd?

- do you know where i can get mobileterminal for ios7? all i can find in the repos is for ios6, unless there is another app i can use that is similar to mt?

edit: i almost forgot. i've must of jailbroke and restored my phone numerous times this week. could cydia have left any junk on my phone? at times my phones performance dropped. would a program like ilex rat be needed or is my phone completely cleaned and wiped once i do a restore?

ssh over usb is useful for
1. faster transfer speeds than over wifi
2. your phone cannot boot onto the home screen to connect to wifi (in that case, usb would be your only choice assuming the ssh service is up and running)

yes, you would need to use usbmuxd for ssh over usb

i'm using mobileterminal 520-2 and that's been perfectly fine

if you restored and then "start as new", then your phone will be completely clean and wiped
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.