@dafyre said in How to mount remote filesystem over ssh (both Windows & Linux):
@black3dynamite said in How to mount remote filesystem over ssh (both Windows & Linux):
@dafyre Installing sshfs and winfsp via choco is older than the ones from GitHub.
If you installed them via choco do this to mount at the host root directory or other directories.
https://github.com/billziss-gh/sshfs-win/issues/102Host root directory
\\sshfs\remoteuser@host\..\..Specific directory like /var/www
\\sshfs\remoteuser@host\..\..\var\wwwThanks for the pointer. I did install using choco. I'm able to make it work now.
Edit: Just to see if I can, I may go back and do straight installs.
As I said above with the latest version I mount the root directory with \\sshfs.r\user@host
However, if you want to mount another directory like /var/www you have to do:
\\sshfs.r\user@host\var\www\
The trailing \ is very important!
It just doesn't work without it if your path is more than one directory deep. You also need to use backslash and not the forward slash.