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

1
vote
1answer
31 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 ...
3
votes
1answer
214 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 ...
1
vote
1answer
36 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 ...
0
votes
1answer
109 views

How to preserve file ownership when editing files over sshfs?

I administer a Ubuntu web server running a LAMP stack. I am now trying to mount the file system to a Windows machine over SSH (using win-sshfs). This works as expected. However, when editing files ...
0
votes
0answers
41 views

sshfs does not mount automatically on remote server bounce

I have 2 ubuntu servers, successfully mounted a directory from server1 into server2. When I bounce the server1, how do I make sure the directory gets automatically mounted on server2 ? sudo sshfs ...
1
vote
1answer
151 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 ...
-2
votes
1answer
107 views

cloud file storage (SSHFS usable?)

I am using Linode and plan on having multiple VPS behind a Load Balancer to run my application. The problem i have is with storage, in the next year i see at least 2TB of storage required. I have ...
3
votes
1answer
310 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 ...
0
votes
1answer
80 views

how to copy move files in a remote server without downloading

CURRENT ESCENARIO: REMOTE Debian VPS in an untrusted datacenter (i.e. a third party hosting provider) serving files to the Office through internet. LOCAL Office with 4 Ubuntu, Mint and Debian ...
1
vote
1answer
368 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: ...
0
votes
1answer
549 views

sshfs mount using public key authentication: execvp: No such file or directory

I am trying to mount a remote file system through sshfs using public key authentication. I am getting this error: execvp: No such file or directory I can confirm that public key authentication is ...
9
votes
2answers
404 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 ...
0
votes
2answers
326 views

SSHFS on startup CentOS 6.3

I edited the file /etc/rc.d/rc.local and added the following lines in order to mount a remote directory through sshfs at boot time: su user -c "/usr/bin/sshfs -o idmap=user -o reconnect -o ...
1
vote
2answers
284 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 ...
0
votes
1answer
202 views

Faster file writing on sshfs mounted directory

Here is the following scenario: I have server1 and server2 and using sshfs I mount a directory from server2 on server1, let's say /mnt. Now, if I try to unpack a 50K files archive on server1:/mnt it ...
1
vote
1answer
375 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 ...
0
votes
1answer
180 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 ...
0
votes
0answers
161 views

Unable to mount with sshfs

I'm trying to mount a remote drive using sshfs using my fstab. Both the remote directory and the mount point are /home/media. When I type mount /home/media I get the error: 'read: connection reset by ...
0
votes
5answers
971 views

keep ssh connection alive and persistant while switching network interface connections

Scenario: At my desk with laptop plugged in to ethernet and connected to remote server over SSH Want to move to other side of office with laptop and change to WiFi without interrupting SSH ...
1
vote
2answers
123 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 ...
0
votes
2answers
276 views

Root user can't mount non-root user on remote machine with sshfs

I'll try to keep this simple. Here's what works: Mounting root@wherever:/ with sshfs while I'm root. But if I'm root and I try sshfs test@somewhere:/ /home/me/test -o idmap=user or sshfs ...
5
votes
1answer
639 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 ...
0
votes
1answer
367 views

Access SSHFS Share with Apache/Python

I've got a bit of a complicated setup going on here, and, well, it's not quite working. I have a Python script that parses a directory for certain "attributes" in the directory name (how the script ...
3
votes
2answers
327 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 ...
0
votes
1answer
105 views

What is going on with openssh-xattr?

For ArchLinux, I've seen this package surface: openssh-xattr https://aur.archlinux.org/packages.php?ID=58363 As it seems a patched openssh that adds xattr facilities to the sftp ssh ...
0
votes
0answers
102 views

sshfs file permission

I mounted a remote filesystem via sshfs. The permissions of files are ok, when inspecting via ls (-r--r--r--) . However, when I do a "-w file" check on a file that is not writable, I get exit code ...
4
votes
1answer
276 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 ...
0
votes
1answer
389 views

How to set up sshfs to use www-data

I have 2 Debian systems, prod1 and prod2, with their respective users, prod1 and prod2 as well. I want to setup an sshfs with autofs to have a directory on prod1 in the /home/prod1/ that the user ...
3
votes
1answer
319 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 ...
-1
votes
1answer
374 views

Fuse, how to set the user that owns the directory?

I'm having some permissions issues on a Fuse mounted directory and I'm a bit confused about how to set the owner. I have a media directory on a server that apache uses to create and serve some user ...
1
vote
0answers
779 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 ...
2
votes
1answer
1k 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 ...
1
vote
1answer
172 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 ...
2
votes
1answer
357 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
1answer
618 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 ...
0
votes
1answer
201 views

Where to define sshfs options when using autofs?

I have used the following guide: http://www.tjansson.dk/?p=84 to mount an SSHFS using Automount. The implementation works great. However, I need to add an option to SSHFS as defined here: ...
13
votes
3answers
9k 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 ...
3
votes
3answers
236 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 ...
2
votes
1answer
799 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 ...
1
vote
2answers
605 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> ...
3
votes
1answer
687 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. ...
0
votes
2answers
222 views

sshfs handling hangs

I have 2 servers (linux), one for PHP application, second for static files serving. I want to mount directory from static server in application directry so I could write / read files on static server ...
1
vote
1answer
501 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 ...
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 ...
0
votes
1answer
175 views

sshfs fail when remote server relogins on login

I'm trying to mount a remote disk using sshfs. The code is: sshfs user@server:/ /home/user/folder The problem could be that the remote server relogins the connecting user under a different user ...
2
votes
1answer
414 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 ...
0
votes
1answer
444 views

How and when should I mount a remote filesystem using SSHFS?

I managed to get SSHFS working smoothly. I've added the following line to my /etc/fstab: sshfs#xxx@remote_host:/path_to/remote/content /path_to/local/content fuse \ ...
13
votes
1answer
6k 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 ...
0
votes
1answer
772 views

Is it possible to set the cache size for fuse and/or sshfs?

I can't seem to find something in the documentations. Is it possible to set the cache size for fuse and/or sshfs and if so, how?
0
votes
0answers
142 views

Weird .#filename files on remote ssh-connected systems after mcedit

I'm using MacFusion sshfs in combination with Midnight Commander, and when I edit remote text files with mcedit, weird symlinks are created on the remote system. $ ls -l .* lrwxr-xr-x 1 user group ...