SSHFS is a tool that uses SSH to enable mounting of a remote filesystem on a local machine.
Questions tagged [sshfs]
202 questions
112
votes
15 answers
Faster way to mount a remote file system than sshfs?
I have been using sshfs to work remotely, but it is really slow and annoying, particularly when I use eclipse on it.
Is there any faster way to mount the remote file system locally? My no.1 priority is speed.
Remote machine is Fedora 15, local…
CuriousMind
- 2,021
42
votes
7 answers
sshfs device is busy
I mounted a remote file system using sshfs (version 2.8.4)
sshfs -o allow_root joeuser@example.com: ./example
but unmounting it fails
> fusermount -u example
umount: /home/joeuser/example: device is busy.
(In some cases useful info about…
ctuffli
- 690
41
votes
4 answers
How to mount remote SSHFS via intermediate machine? Tunneling?
I would like to mount a remote file system (A) using SSHFS, but sometimes I have IP address, access from which is not allowed. So my plan is to access it via another machine (B) in that network. Do I need to mount A on B and then to mount B (and A)…
Andy
- 1,674
39
votes
5 answers
How to avoid sshfs freezing?
I've installed sshfs on Ubuntu 12.04 and I'm trying to connect to a couple of remote servers.
Initially the mount seems successful. Sometimes, Gnome even picks it up and displays the "new device found" box at the bottom of the screen. But from here…
Andreas Hagen
- 486
31
votes
4 answers
sshfs is failing with "remote host has disconnected"
I'm running sshfs with the following:
sshfs basicuser@192.168.1.111:/var/www/myapp /home/basicuser/code -o sftp_server="/usr/bin/sudo /usr/libexec/openssh/sftp-server"
I have also created RSA keys so I can log in via ssh without password prompt (I…
Don Rhummy
- 650
30
votes
6 answers
Automount sshfs using fstab without mount -a
Please consider following fstab line (line breaks for readability):
sshfs#user@192.168.1.123:/home/user/
/home/user/Server/
fuse
auto,user,_netdev,reconnect,uid=1000,gid=1000,IdentityFile=/home/user/.ssh/id_rsa,idmap=user,allow_other
0
It…
user21886
- 433
- 2
- 6
- 9
30
votes
5 answers
How to (cleanly) dismount sshfs when mounted on a NFS mount point?
My coworker has a desktop computer with /home shared on our file server. I have developed a Perl script for sshfs-mounting a certain directory on another SSH host which works fine on my laptop.
On his computer the script fails to dismount the sshfs…
Daniel Böhmer
- 865
29
votes
5 answers
How do I make sshfs work in Debian? (I get /dev/fuse: Permission denied )
I've moved from Ubuntu to Debian on a machine and all my sshfs mounting scripts fail with
fuse: failed to open /dev/fuse: Permission denied
now. Am I missing something simple?
John Baber-Lucero
- 811
- 3
- 10
- 16
24
votes
2 answers
Getting `sshfs` working on WSL or finding an alternative
My university's CS department has its own server used for development (from here on out, dev.univ.edu). I have SSH and SFTP access to this server, and I was hoping to do some heavy work on my Windows laptop using WSL. My plan was to use sshfs to…
Isaac Corbrey
- 547
20
votes
1 answer
Should I replace sshfs with NFS?
I have a server at home accesible via local WIFI. I also have several laptops. I share folders in the server using sshfs due to its ease-of-use. But sometimes I notice lots of connections issues with the shared folders.
Is NFS a better solution?
Zhen
- 903
19
votes
3 answers
Set proper rights for sshfs mountpoint so it can be shared with samba
I have a domain hoster that provides access via SSH.
My platforms are:
Gentoo 2.6.36-r5
Windows (XP/Vista/7)
I work on my Windows, I use Gentoo to do all the magic Windows can't do.
Therefore I use sshfs to mount the remote public directory for my…
CS01
- 395
17
votes
1 answer
Why is "sudo unmount" required for unmounting an sshfs-mount if it was mounted without sudo privilges?
I have an sshfs FUSE filesystem mounted in ~/mountpoint. I tried umount mountpoint and diskutil unmount mountpoint (on a Mac here) and both failed. I used sshfs -o IdentityFile= user@hostname:/home/ ~/mountpoint; none of that required…
Kyle L
- 2,379
16
votes
2 answers
What are the difference between nfs over ssh and sshfs?
I’m looking for a solution to mount an folder from my homeserver (linux) over the internet. The Data should be encrypted, so that nobody could read my file content or any metadata.
I have found multiple solutions:
nfs4 over a ssh tunnel as…
oceanBT
- 263
16
votes
6 answers
SSHFS remote directory mounting syntax
A Windows-10 64-bit PC was outfitted with:
winfsp - msi download of latest release version or the Github project
sshfs-win - msi download of latest release version or the Github project
A remote linux directory (mydirectory) is to be mounted to…
gatorback
- 1,091
15
votes
3 answers
SSHFS graceful degradation instead of freeze when connection is lost. Is it possible?
A third-party program will write files to a SSHFS mounted dir. If the internet connection is lost, the third-party program will likely crash (badly), because all programs trying to access such an SSHFS mounted dir in such a state (when there's no…
Andrei
- 513