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

19
votes
4answers
4k 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 ...
0
votes
0answers
19 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
115 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
25 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
18 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
478 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
24 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
153 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. ...
18
votes
3answers
13k 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 ...
14
votes
1answer
8k 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 ...
3
votes
1answer
389 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
42 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
1answer
69 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
2answers
1k views

Mount SSHFS via FSTAB - Permissions Problem

I am having trouble mounting a remote file system via SSHFS/Fstab. The Client is a Ubuntu 10.10 box. The remote device is a Netgear ReadyNAS Pro. I created ssh keys already and can login without a ...
0
votes
1answer
187 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
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 ...
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
295 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
142 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 ...
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.
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
8k 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 ...
0
votes
2answers
259 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 ...
3
votes
1answer
376 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
5answers
1k 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 ...
0
votes
1answer
133 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 ...
3
votes
1answer
356 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
1answer
429 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
505 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
817 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 ...
1
vote
1answer
523 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 ...
10
votes
2answers
497 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
368 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
360 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
246 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
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
226 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
177 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 ...
1
vote
2answers
140 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
344 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
826 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
435 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
3answers
309 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
2answers
353 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
0answers
117 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 ...
-1
votes
1answer
426 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
3answers
349 views

sshfs passwordless

Does any one know ssh -i equivalent for sshfs ? I want to use sshfs without promting for a password
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
471 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 ...
4
votes
3answers
3k 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 ...