Questions tagged [sshfs]

SSHFS is a tool that uses SSH to enable mounting of a remote filesystem on a local machine.

195 questions
106
votes
14 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
  • 1,931
  • 5
  • 23
  • 29
41
votes
7 answers

sshfs device is busy

I mounted a remote file system using sshfs (version 2.8.4) sshfs -o allow_root [email protected]: ./example but unmounting it fails > fusermount -u example umount: /home/joeuser/example: device is busy. (In some cases useful info about…
ctuffli
  • 680
  • 2
  • 9
  • 15
40
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)…
Andrei
  • 1,554
  • 5
  • 19
  • 28
38
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
  • 476
  • 1
  • 4
  • 6
30
votes
3 answers

sshfs is failing with "remote host has disconnected"

I'm running sshfs with the following: sshfs [email protected]:/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
  • 622
  • 2
  • 10
  • 21
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
  • 809
  • 3
  • 10
  • 16
28
votes
5 answers

Automount sshfs using fstab without mount -a

Please consider following fstab line (line breaks for readability): sshfs#[email protected]:/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
  • 403
  • 2
  • 6
  • 9
25
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
  • 805
  • 1
  • 8
  • 18
21
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…
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
  • 873
  • 2
  • 12
  • 28
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
  • 1
  • 4
  • 13
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…
kalaracey
  • 2,319
  • 7
  • 28
  • 38
15
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
  • 253
  • 1
  • 2
  • 6
14
votes
4 answers

Use a device over SSH?

I have 2 PCs with Ubuntu at home and a network link between them. If I do $ sshfs [email protected]:/ /media/pc2 can I use a remote device as a local one? (in this case: /media/pc2/dev/sr0 as a local DVD-RW). In the end, everything in Unixes is…
culebrón
  • 490
  • 2
  • 8
  • 23
14
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
  • 483
  • 1
  • 3
  • 11
1
2 3
12 13