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

learn more… | top users | synonyms

28
votes
3answers
20k views

How to keep Rsync from chown'ing transfered files?

I have a sshfs connection setup with a remote filesystem on a Linux server. I'm doing an Rsync from my local server to the ftpfs-filesystem. Because of the nature of this setup, I can't chown anything ...
22
votes
4answers
5k views

How do I sudo over sshfs?

On my local host alpha I have a directory foo that is mapped via sshfs to host bravo as follows: $ sshfs charlie@bravo:/home/charlie ~/foo However, on host bravo there is another user, delta, that ...
18
votes
1answer
12k views

Why doesn't SSHFS let me look into a mounted directory?

I use SSHFS to mount a directory on a remote server. There is a user xxx on client and server. UID and GID are identical on both boxes. I use sshfs -o kernel_cache -o auto_cache -o reconnect -o ...
11
votes
5answers
9k views

How do I mount sshfs at boot?

Using a NAS box as 24/7 file server, I'd like to use sshfs to connect to it from an Ubuntu 9.04 desktop. Currently, I have this line in the desktop's fstab: sshfs#jldugger@storage:/mnt/HD_a2/ ...
10
votes
2answers
672 views

What is the potential for a FUSE mount to destabilize a Linux server?

I'm a sysadmin for a multi-user server, where students in our department have shell accounts. One of our users has requested that we install sshfs on it. I'm debating whether it would be wise to ...
6
votes
1answer
1k views

How to list current sshfs mounts to server?

If someone logs into a server via ssh for shell usage, a quick use of last|w|who can be used to show the logged in user. If someone mounts a directory on the same server via sshfs from another ...
5
votes
4answers
2k views

Is sshfs+encfs stable?

What is your experience in using ENCFS with SSHFS for remote backup ? My main wondering is about long term stability.
4
votes
2answers
2k views

Denied root access to user mounted FUSE file system

Let me start with giving you the details of my setup: I am running Fedora 13 on an x86_64 arch. I have mounted a remote directory using sshfs: jim@localsite $ sshfs jim@remotesite:/home/jim ...
4
votes
1answer
336 views

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 ...
4
votes
3answers
4k views

/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 ...
3
votes
2answers
392 views

How does `rm -rf` work

When I try rm -rf on a directory which has a lot of subdirectories and/or files and which is mounted with SSHFS, then I takes a while to execute. Is it normal ? I would like to know how rm -rf works ...
3
votes
2answers
170 views

How to run sshfs through ssh command?

I tried to run sshfs through ssh in one command. For example, if I do : $ ssh user@host user@host$ sshfs host:/src /target Everything is ok. Now, if I tried this in one command : ssh -t "sshfs ...
3
votes
1answer
3k views

Improving SSHFS performance when reflecting changes in host directory

I have an SSHFS mount from a Ubuntu Server VM guest, mounting a host Mac OS X directory. Changes made directly in the Mac OS X host directory take approx 5 - 10 seconds to reflect in the Ubuntu Server ...
3
votes
3answers
419 views

sshfs multi users

I would like to use sshfs with many users. sshfs root@192.168.56.100:/ root/ With this command I get the whole file system in the directory root/. Is there any possibilities to change the user of ...
3
votes
1answer
936 views

Central “/home” using SSHFS?

The standard way to setup a central "/home" directory on a Linux workstation is using NFS. The problem is that I don't like the lack of real security in NFS. So instead I want to try to use SSHFS. ...
3
votes
1answer
490 views

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 ...
3
votes
1answer
420 views

Mixing NFSv4 all_squash and sshfs access

I have a problem with my server. In my internal network I hand out several network shares using NFSv4 from a Debian Squeeze server to my clients. These shares use the all_squash option because I want ...
3
votes
1answer
639 views

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 ...
3
votes
1answer
414 views

Rackspace cloud sites to local server backup

I use rackspace cloud sites and don't have accsess to SSH or RSYNC on their servers, but I do access to SSHFS. I would like to be able to backup my cloud site to my local Ubuntu server, which has ...
2
votes
2answers
2k views

SSHFS Server for Windows?

Is there a sshfs SERVER for MS-WINDOWS ? I have a working sshfs client (dokan Win64), but I can't share a windows drive over internet.
2
votes
1answer
661 views

sshfs problem when losing connection

I've a problem when I lost the wireless network connection after mounting a remote folder with sshfs on Linux. When I lost the connection the shell become frozen, if I open another shell and I try to ...
2
votes
1answer
1k views

Rsync over SSHFS hangs

I have sshfs setup to connect to another system (Rackspace Cloud Sites) that I don't have ssh access to (but for some reason I can use sshfs? Go figure). I'm attempting to rsync files from the sshfs ...
2
votes
2answers
1k views

Why does sshfs change permissions of the local mountpoint to root?

this is the command: pc@linux-vhvu:~> sshfs -o nonempty -o sshfs_debug root@XXXXXXXXXXXXX: ./dg SSHFS version 2.3 Password: Server version: 3 Extension: posix-rename@openssh.com <1> ...
2
votes
1answer
515 views

ProxMox VPS modprobe fuse not working

I'm needing to mount a directory using sshfs, but for that to work I need fuse. When I run modprobe fuse i'm getting this: FATAL: Could not load /lib/modules/2.6.32-4-pve/modules.dep: No such file ...
2
votes
3answers
1k views

ssh asks for password despite ssh-copy-id

I've been using public key authentication on a remote server for some time now for remote shell use as well as for sshfs mounts. After forcing a umount of my sshfs directory, I noticed that ssh began ...
2
votes
1answer
9 views

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 ...
2
votes
1answer
933 views

Why can't I setup an SSHFS share? “OSXFUSE file system is not available” error

I'm trying to setup an SSHFS share from my local machine to a remote machine, but it is not working. I'm getting the error OSXFUSE file system is not available (see below). How to fix this?? FYI, my ...
2
votes
1answer
553 views

Any tricks for making sshfs authenticate only on write?

There is seemingly a trick for creating read-only sshfs logins with the read only attribute is enforced by the remote's ~/.ssh/authorized_keys file. You first create a program ~/.ssh/ro-sftp-server ...
1
vote
3answers
3k views

How could one speed up SSHFS in LAN?

I am using SSHFS to transfer files under Linux between my notebook and my desktop machine. It's easier then NFS because one doesn't have to configure mount points and permissions a priori. Now, using ...
1
vote
1answer
220 views

Mounting SSHFS drive for web site

What is going on on my web server if I mount a SSHFS drive at a remote server (off site, hosted by a VPS on a different domain) and someone downloads a file that I have on my web server? Here's ...
1
vote
3answers
372 views

sshfs passwordless

Does any one know ssh -i equivalent for sshfs ? I want to use sshfs without promting for a password
1
vote
2answers
157 views

Force command/process to execute via remote server

There is a Linux server that I access via sshfs. Unfortunately, a pure ssh connection is not possible due to security concerns on that end. If I access this server via sshfs, any commands that I ...
1
vote
1answer
1k views

Redhat | Fuse | SSH file system

I did manage setup and configure fuse and [sshfs][2] on my Redhat EL 5.4. But when I hit the sshfs it's out put an error sshfs: error while loading shared libraries: libfuse.so.2: cannot open shared ...
1
vote
3answers
284 views

Remotely mount *nix $HOME dir from Windows

I need a solution for mounting *nix /home dirs remotely from Windows. I need something that will have Windows treat the files as a native device and allow you to open/edit files with any local program ...
1
vote
1answer
552 views

www-data access sshfs mount point

I have an Apache2 on a Debian Linux. I mount a sshfs to the directory /mnt/mountpoint/ (it is mounted on boot time via /etc/fstab). It is accessed with a softlink from /var/www/mountpoint. When I ...
1
vote
1answer
57 views

Does a successful ssh, and a failed sshfs must imply a local error?

I can successfully log on to a server via ssh. ssh root@server_ip However, trying to sshfs sshfs root@server_ip:/home gives an error: remote host has disconnected If ssh is passing on the ...
1
vote
2answers
448 views

sshfs mount won't start from /etc/rc.local

I have the following commands in /etc/rc.local chmod 666 /dev/fuse chmod +x /usr/bin/fusermount /bin/su someuser -c "/usr/bin/sshfs someuser@someserver:/usr/local/storage ...
1
vote
1answer
321 views

Install sshfs on Amazon Linux AMI 2012.03

SSHFS does not seem to be in the repository of the Amazon Linux AMI 2012.03. So I tried from Source: wget http://downloads.sourceforge.net/project/fuse/fuse-2.X/2.9.1/fuse-2.9.1.tar.gz tar xvzf ...
1
vote
1answer
869 views

sshfs automount with password-enabled ssh key and ssh-agent in ubuntu

I currently set up sshfs automount on ubuntu per this thread. It's nice because of the network up and down scripts. The benefit comes at a cost: it requires passwordless ssh via an ssh key. I was ...
1
vote
1answer
10k views

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 ...
1
vote
5answers
385 views

Setting up multiple secure servers for company wide file sharing

The company I work for has multiple offices spread throughout the US. We're trying to come up with a solution that would allow secure file sharing across all the offices. What we are thinking at the ...
1
vote
1answer
231 views

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 ...
1
vote
1answer
772 views

How to make sshfs + VPN + git a tolerable working environment?

Currently the code base for the project I am working on is remotely on a company server. and it has to stay like that. also the remote git repository cannot be made public. My current setup is: ...
1
vote
1answer
621 views

Mounting fuse sshfs fails when invoked by Cron on FreeBSD 9.0

I have a remote server filesystem that I'm attempting to mount locally on a FreeBSD 9 machine via FUSE sshfs, and Cron for a backup routine. I have ssh keys between the boxes setup to allow for ...
1
vote
1answer
1k views

Problem with pam_mount sshfs and home folders as mount points

I am trying to use pam_mount to mount each users home folder over sshfs when each user logs in. The problem I have gotten stuck on is that when pam_mount calls mount.fuse and mount.fuse uses ssh to ...
1
vote
1answer
2k views

How secure is encfs

Like others on this site, I am considering using encfs + sshfs for secure offsite backups. I am wondering how robust encfs is to brute force attacks? Do some users use the --stdinpass command with a ...
1
vote
0answers
1k views

network-mapped file system drops to read-only mid-stream, buffer I/O error with device mapper

Under linux 2.6 (CentOS 5.3 actually), I have a file system that works okay for a few minutes, then drops to read-only mode, while I am trying to read/write data to it. It is an ext3 file system ...
1
vote
2answers
1k views

Sshfs is not working

When I run sshpass -p 'mypass' sshfs 'root'@'68.19.40.16':/ '/dir' -o StrictHostKeyChecking=no,debug It successfully mounts but it runs on foreground. When I run without 'debug' parameter, it ...
0
votes
2answers
22 views

Is it better to use rsync over SSHFS or over CIFS as remote repository, having no option for rsyncd?

I have a NAS that is only capable of CIFS, AFS, SSH (no rsyncd capabilities, no NFS). I have to backup very large files (vm images) and I usually set a rsync server on the backup device then I do a ...
0
votes
1answer
65 views

Mount a SFTP remote filesystem that doesn't give shell access

I have a NAS that exposes its filesystem as SFTP, but it doesn't give any access to connect throught SSH as a normal user. I've tried to use sshfs to mount it from a remote webserver, but I receive ...