Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure trying SSHFS. Alternatives? #3103

Closed
angelog0 opened this issue Apr 14, 2018 · 15 comments
Closed

Failure trying SSHFS. Alternatives? #3103

angelog0 opened this issue Apr 14, 2018 · 15 comments

Comments

@angelog0
Copy link

I have a MacBookPro (MBP) with a folder /opt/tlrepo which I have "mouned" on GNU/Linux Mint with

sshfs utente@MBP:/opt/tlrepo /mnt/tlrepo

and I can use it [BTW, /opt/tlrepo is a local mirror of TeXLive (TL) distribution and I can install TL on GNU/linux using the same repo I have used on MBP.]

Trying the same on WSL fails:

fuse: device not found, try 'modprobe fuse' first

I have seen that this is not yet supported by WSL and that many users want that.

Meanwhile, How I can "mount" that folder in WSL? Which alternatives? [BTW, I have to copy tlrepo on an USB key to install TL on WSL. ALL this works just fine, but to maintain the installation it would be very useful to have only one tlrepo.]

Here is Win 10 Pro 64b 10.0.16299.371 and WSL:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.4 LTS
Release:        16.04
Codename:       xenial

(SSHFS package installs on WSL without issues using sudo apt install...)

Thanks.

@fpqc
Copy link

fpqc commented Apr 14, 2018

SSHFS uses FUSE, which is not supported atm.

@angelog0
Copy link
Author

@fpqc wrote:

SSHFS uses FUSE, which is not supported atm.

Yes, I know and suggest, as others, to add that... but I asked also for alternatives...

How can I do that job ("mounting" a utente@MBP:/opt/tlrepo) on WSL? Notice that

ssh utente@MBP

(and scp to/from MBP) already works on WSL..

Thanks.

@christianparpart
Copy link

@angelog0 alternative: http:https://www.secfs.net/winfsp/blog/files/winfsp-2017.html

@angelog0 scp is a completely different thing that sshfs (which is on top of FUSE). So what you're basically asking in that ticket (or should), is to please implement FUSE related syscalls.

@angelog0
Copy link
Author

@christianparpart wrote:

alternative: http:https://www.secfs.net/winfsp/blog/files/winfsp-2017.html

I don't understand how to use it in relation with WSL.

Do you mean that after I have installed it I can use in WSL

sshfs utente@MBP:/opt/tlrepo /mnt/tlrepo

?

Do you mean that WinFsp will work with sshfs from WSL package? I am reading this page WinFsp and it seems that if I run

memfs-x64 -u \memfs64\share2 -m *

it will create a shared Y: drive. But with which machine?

Please, may you elaborate? How can I "mount" the MBP folder utente@MBP:/opt/tlrepo in WSL /mnt/tlrepo folder? Maybe you need to re-read my OP.

Thanks.

@fpqc
Copy link

fpqc commented Apr 16, 2018

It's not just FUSE syscalls. FUSE needs to be added at the Windows driver level

@angelog0
Copy link
Author

@fpqc wrote:

FUSE needs to be added at the Windows driver level

So, I download WinFsp MSI file, install it, install the sshfs WSL package and than I can use sshfs utente@MBP:/opt/tlrepo /mnt/tlrepo in WSL?

Please, clarify. Thanks.

@angelog0
Copy link
Author

Ok, with winfsp and sshfs-win I managed to mount the Mac Book Pro (MBP) repo on Windows as drive Z: and then I mounted this drive to WSL (sudo mount -t drvfs z: /mnt/z) but ALL THIS didn't solve my problem: using a TeXLive (TL) repo on MBP to install and maintain it on other PCs (Windows, GNU/Linux) in the LAN.

Even if I can read and write the /mnt/z, when I try to update the TL installation, it fails because it does not understand some /mnt/z/tlrepo files. May be they are symlinks on MBP and GNU/Linux but /mnt/z sees them as simple text files. It is a pity.

Let's see if WSL will acquire the FUSE support...

Thanks.

@heldchen
Copy link

create a samba mount on your MBP, mount it at least once in windows 10 to save the credentials. after that you will be able to mount the UNC path in WSL directly using drvfs

@therealkenc
Copy link
Collaborator

Discussion ran course.

@Hug0Albert0
Copy link

fuse: device not found, try 'modprobe fuse' first

Is anyone having the same problem?

@harryqt
Copy link

harryqt commented Oct 16, 2019

fuse: device not found, try 'modprobe fuse' first
Is anyone having the same problem?

@Hug0Albert0 Having the issue. Any fix?

@boomskats
Copy link

@Hug0Albert0 @Dibbyo456 The answer is in @fpqc 's comment, the first comment on this issue. The various solutions are the rest of this comment thread.

@carlosdelfino
Copy link

Keybase also needs Fuse to mount its encrypted and distributed file system, the same problem occurs. Is there any possibility of this being solved?

@therealkenc
Copy link
Collaborator

/dupe #17

@ghost
Copy link

ghost commented Jun 22, 2020

Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread.

Thanks for your report!

@ghost ghost added the duplicate label Jun 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants