How to Use SSHFS-Win To Access iPhone's/iPad's Files Remotely on Windows

How to Use SSHFS-Win To Access iPhone's/iPad's Files Remotely on Windows

John Crane


Guide Credit Goes to Sike

This guide assumes that you are an experienced jailbreak user, have ssh installed, and backup all mentioned files before modifying them.  

What does this guide do?

A new user with root privileges and a home directory of / will be added to your device, which can then be used for sshfs-win.

This is mandatory, because if you tried to connect with root, it would just show /var/root (home directory of root), instead of the entire file system (/). 


Alternatives (Not Recommended).

Alternatively, you could change the home directory of root to / or play around with symbolic links in /var/root, but I don‘t recommend doing that because that will probably mess up some stuff,  which may result in a bootloop


Easier Method if Procursus-strapped  

If on Taurine or any other procursus-strapped jailbreak, you can skip steps 1 and 2 and just use the adduser command instead. You might need to manually change the UID in /etc/master.passwd and /etc/passwd


Advantages over Xenon 

  • free 
  • you can connect multiple devices to the same pc 
  • no annoying notifications every time you boot your pc 
  • no server runs on your ios device 
  • winfsp and sshfs-win are fully open-source, more stable and frequently updated 


How to Setup:


Go to /etc/master.passwd and add NAME:RandomCharactersFromMobileOrRoot:0:0::0:0:System  Administrator:/:/bin/sh

NAME is your choice of a user that you want to create.

Go to /etc/passwd and add NAME:*:0:0:System Administrator:/:/bin/sh 


You have just added a new user with root privileges, its default directory is /.

To test it, open a terminal and type su NAME, then enter the password from the user you copied the random characters from (or from adduser if procursus-strapped). 

If you want to change your password, type passwd NAME as root or NAME. To test if you actually have root, run id. If the UID is 0, you’re root.


On your computer, install the latest version of 


On Windows: open explorer, go to This pc, press Map network drive (In Top Toolbar), and enter \\sshfs\NAME@YouriDevice’sIP

Select Connect using different credentials (mandatory) and Reconnect at sign-in (convenient)

Click Finish and enter the password of your created user.


You’re done!  

When rebooting your pc, you may get an error message. Just ignore it, everything is working.

Report Page