Questions tagged [sshfs]

sshfs is a FUSE filesystem for Linux which allows directories on remote machines accessible via SSH to be mounted locally.

146 questions
6
votes
3 answers

sshfs permission denied even for root user

I use sshfs to mount a remote folder from another server to the local server. Mounting the remote folder works without a problem using the following command: sshfs -o allow_other someServerFromSSHConfig:/home/data/somefolder/ /some/local/folder The…
Flatron
  • 318
  • 2
  • 5
  • 19
5
votes
1 answer

Rsync over sshfs skips filenames starting with underscore

I'm trying to sync a directory tree from OS X (10.11) to Ubuntu 14.04. While most of the files get transferred just fine, files with names starting with _ (underscore) do not. Here is the command I use: rsync -rtvh --progress ~/Pictures/processed/…
Nic Nilov
  • 191
  • 1
  • 8
5
votes
1 answer

Why very slow / no directory caching with SSHFS?

I have the below in /etc/fstab and when I cd ~/dat0 and then do anything in there e.g. tab complete, it takes 10 seconds every time. I.e. it doesn't cache anything. Is there something that can be done to speed this up? ss@dat0: /home/ss/dat0…
Jasmine Lognnes
  • 2,520
  • 8
  • 33
  • 51
5
votes
2 answers

Why do I get "Operation not permitted" when trying to mount a volume using sshfs and MacFUSE?

I installed MacFUSE (from http://code.google.com/p/macfuse/downloads/list), restarted, and then downloaded sshfs-static-leopard.gz, and moved sshfs-static-leopard to /usr/sbin/sshfs (and did a chmod 755 on it). I've configured an Ubuntu machine at…
Daryl Spitzer
  • 2,996
  • 9
  • 33
  • 40
4
votes
2 answers

With sshfs, what causes the error "fuse: bad mount point `': Permission denied"?

I ran across this error while trying to mount a remote file system to my local host using SSHFS. The command I was using was in the form of: sshfs root@remote:/path/to/dir ./localDir I am logged into the local system as root I have a valid SSH key…
user984869
  • 161
  • 1
  • 5
4
votes
3 answers

sshfs file writes don't respect UID/GID mapping

I'm mounting my /home directory remotely using sshfs. Since UIDs and GIDs aren't the same on the server and client, I'm using idmap=file. Additionally, because of application requirements, I must mount all of /home rather than individual user…
Nathan Vance
  • 139
  • 1
  • 5
4
votes
1 answer

Auto-mount SFTP share in fstab

I have a SFTP share on my server wich use standard authentication. On my client, I have edited the /etc/fstab file and added : user1@192.168.1.50:/ /mnt/share fuse.sshfs port=22,defaults,_netdev 0 0 I mount the share with the command : mount…
Kamiz
  • 43
  • 1
  • 1
  • 3
4
votes
1 answer

What are large read requests in sshfs and is it recommended to enable them?

sshfs has the following option: -o large_read issue large read requests (2.4 only) What exactly does this do and how large are large read requests? Would it be recommended generally or specifically for me to enable this (and is it…
Mike
  • 43
  • 5
4
votes
1 answer

automount works but autofs wont mount

I know this subject has been discussed so many times that I'm almost ashamed I haven't found the solution to my issue yet. Clearly there is something I quite don't understand and would really appreciate any input or pointer. Backgroud Linux…
JayC
  • 73
  • 1
  • 5
4
votes
1 answer

Logging sshfs reads + writes - Possible?

We use sshfs in quite a few situations. We were wondering if there was a way to log the read / writes made to the sshfs mounts we have so we could optimize things on our local side (eg: tweaking cache, locally caching objects, etc). Any ideas?
anonymous-one
  • 1,018
  • 7
  • 27
  • 43
4
votes
3 answers

Use SSHFS on XenServer 6.1

On Xen Server 6.1, to backup my VMs, I use a script based on the following tools: xe vm-list to build a list of the VMs to backup xe vm-snapshot to take a snapshot of the VMs xe template-param-set is-a-template=false ha-always-run=false to convert…
Icu
  • 1,425
  • 3
  • 16
  • 25
4
votes
1 answer

How do remote filesystems (nfs ssfhs) handle remote-to-remote copies?

After working with a few large files over sshfs, one question started dwelling in my mind. Suppose I have a sshfs (or NFS for that matter) mount on ~/remodetir and I want to do something like cp ~/remotedir/foo ~/remotedir/some/weird/path/bar Does…
4
votes
3 answers

/dev/fuse "permission denied" even when member of fuse group

I have a backup script scheduled on a Debian 5.0 x86 server, via sshfs. However, when I attempt to mount the remote directory, I receive: failed to open /dev/fuse: Permission denied ls -l /dev/fuse returns: crwxrwxr-x 1 root fuse 10, 229 2010-11-12…
steeef
  • 61
  • 1
  • 4
4
votes
0 answers

What is a robust alternative to sshfs (which has been recently orphaned)?

According to https://github.com/libfuse/sshfs, sshfs is now an orphaned project, with no active maintainers. Is there a good, safe, robust alternative, one can use to mount remote filesystems?
a06e
  • 353
  • 1
  • 4
  • 10
4
votes
5 answers

sshfs passwordless

Does any one know ssh -i equivalent for sshfs ? I want to use sshfs without promting for a password
lakshmipathi
1
2
3
9 10