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

-2
votes
1answer
22 views

IMAP archive on NAS storage forces a Error: Input/output error for maildir_lock [closed]

My server is running out of hard disk space. The main reason is a huge amount of archived IMAP mails. Therefore my idea was to put all archived mails on my NAS and mount that folder on my server. ...
0
votes
1answer
16 views

Wrong owner/group with SSHFS

I mounted a remote with SSHFS and everything works as expected, except the owner/group information. No matter what file's owner/group I check, it's always root:root. I'm mounting the remote like this ...
0
votes
0answers
21 views

Unable to mount remote folder with sshfs

Both are ubuntu machines. I checked the IP of my other machine which is pingable as well. But When I do sudo sshfs r@192.168.1.4:/home/r/ /home/r/link/, it does not work. I get the message Connection ...
3
votes
2answers
124 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 ...
0
votes
1answer
30 views

SSHFS mounts use too much memory

I have 21 SSHFS mounts from a Debian server to another one. The servers are on a 1Gbps LAN. When I mount these 21 FS, 675 MB of real memory (not buffer nor cache) are allocated on the server mounting ...
0
votes
0answers
26 views

Access FUSE mount (sshfs) in a Jenkins project build command

I'm trying to run some Jenkins projects that need access to a remote directory. I am trying to mount that directory via sshfs in another project that then triggers these dependent projects. The build ...
1
vote
1answer
568 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 ...
0
votes
0answers
27 views

SSHFS LOOKUP() errors

I'm newer in using sshfs. I realize that when I edit a file in sshfs mount point, the save command is very slow. I did put the debug option "-o debug", and this erros are showed at save command: ...
0
votes
1answer
182 views

sshfs mounts from command line but not through fstab

I'm able to mount an sshfs network share from the command line (using Ubuntu 14.04), like this: sshfs server-name:/usr/local/things /home/myname/stuff but I can't make it persistent using fstab. ...
1
vote
1answer
44 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
426 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
82 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
206 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
46 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
321 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
144 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
395 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
134 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
521 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
871 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 ...
10
votes
2answers
518 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
376 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
367 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
253 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
539 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
235 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
179 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
2k 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
141 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
356 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
863 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
445 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
360 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
139 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
120 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
305 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
481 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
363 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
431 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
973 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
2k 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
201 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
438 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
722 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
221 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: ...
20
votes
3answers
14k 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
314 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
991 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
836 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
832 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. ...