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

Alternative to sshfs #487

Closed
JakubJecminek opened this issue Dec 17, 2021 · 5 comments
Closed

Alternative to sshfs #487

JakubJecminek opened this issue Dec 17, 2021 · 5 comments

Comments

@JakubJecminek
Copy link

JakubJecminek commented Dec 17, 2021

Hello,
after upgrade to Mac Os X Monterey and brew upgrade I have problem with lima that is caused by sshfs being disabled. This is because sshfs depends on macfuse which is no longer under open source license:

When you try to (re)install sshfs, homebrew will give you following error:

brew install sshfs
Error: sshfs has been disabled because it requires closed-source macFUSE!

Is there alternative to sshfs that would support same functionality and that is compatible with lima?

@afbjorklund
Copy link
Member

Support for qemu virtfs is available (uses 9p to mount), but yet not merged into qemu master (for Mac).

If qemu is patched, or once the patches land upstream, it would be possible to mount using that instead...

Similar to podman:

But see also:

@afbjorklund
Copy link
Member

@JakubJecminek : pardon my ignorance, but I thought that sshfs was only needed on the Linux VM ?

And that the host would use sftp to serve the files, at least that is how it is implemented on Linux afaik

@AkihiroSuda
Copy link
Member

AkihiroSuda commented Dec 17, 2021

sshfs is solely used inside the guest, not on the host.
You do NOT need to install sshfs on the host.

@JakubJecminek
Copy link
Author

Ohh ok thank you. Sorry for the wrong question :) And thank you very much for this great project.

@dmahurin
Copy link

Perhaps this will work for some still needing sshfs.

It is a shell script that provides a basic sshfs command line interface, but mounts files with ssh tunneled webdav and mount_webdav.

https://github.com/dmahurin/sshfs-dav/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants