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

3
votes
2answers
1k 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 ...
1
vote
1answer
29 views

Why does SSHFS I/O latency test much faster than local RAID & NFS?

SSHFS tests for server I/O latency using dd returns very surprising results, so much so that I'm worried this might be some problem either with the test method or configuration. Test 1 on local RAID ...
1
vote
1answer
50 views

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
votes
0answers
77 views

sshfs “read: Connection reset by peer”

I am trying to connect to a remote machine from a client machine to mount a samba share in a local machine using sshfs but it throws this error "read: Connection reset by peer" test1 user is added ...
3
votes
7answers
4k 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 ...
4
votes
2answers
739 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
37 views

Prevent writing to unmounted sshfs mount point

Assuming I have a folder /mnt/mountpoint that I use as a mountpoint for some sshfs-mounted directory: sshfs user@host /mnt/mountpoint Now, I want to prevent applications to write to ...
1
vote
0answers
22 views

keep writing to file after network filesystem disconnects

I'm trying to transfer a huge growing logfile in a way that will survive network partitions between the client and server. If the network connection is lost, I cannot afford to retransmit the entire ...
2
votes
2answers
1k 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
0answers
30 views

sshfs works from command line, not fstab, on rhel5

I can mount via sshfs from the command line on my system of interest: # sshfs -o allow_other,uid=1001,gid=1001 server:/data/backups/oracle/odaroot ora_backups And it works just fine. When I ...
1
vote
2answers
54 views

What does take all the cpu here?

On a small SSD VPS I got 2 GB of RAM and 2 vCPU core (dedicated to my server), virtualized via KVM. So far so good. The server is mainly used for databases (MySQL) and fast network file storage (via ...
2
votes
2answers
200 views

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 ...
2
votes
3answers
2k 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 ...
1
vote
0answers
140 views

Write Permissions Denied when using sshfs to Mount Remote Directory on Boot

I have two Cent OS 7 servers I am trying to mount a directory from my host server to my client server. I want this to automatically mount on boot. On my host machine (hostmachine.local) I setup a ...
1
vote
0answers
96 views

Automatically change remote user with sshfs

I have two remote servers, foo and bar. On both servers I have a user git (with different uid and gid). Both servers are running Debian distributions. Both servers have their each others' root ssh ...
1
vote
4answers
108 views

reliably write database dump directly to remote filesystem (Linux)

I need to move a very large database (~320 GB) from server1 to server2 (Linux). Because of different extension versions, the database can only be restored on server2 from a dump file as described ...
0
votes
0answers
74 views

SSHFS mount with sudo - how to restrict privileges?

I need to mount a remote server (server1) with an SSHFS mount on server2 via an automated script. I need to be able to access some files on server1 that require root access, but I don't want to enable ...
0
votes
1answer
522 views

coreos mount cifs or sshfs or any other networked file system

For development I want to mount a file share from my windows dev box inside my CoreOS VM, so I can then mount that volume inside a container. CoreOS doesn't appear to support doing this, and comes ...
0
votes
1answer
31 views

SSH and SSHFS not completely connecting

I'm trying to connect between an Ubuntu and CentOS and reverse. From both sides I get black screen where I can press enter but nothing happens, not being asked for password. examples: SSH ...
0
votes
0answers
9 views

Remote filesystem issue - How to deal with links

I was having a big problem with a VM host storing emails, can scale the VM storage at the time, so migration is required. To give me some time to prepare the migration, I have mounted via sshfs a new ...
0
votes
1answer
46 views

sshfs mount using sudo'ed account

We have a linux system ferguson. On ferguson: I have user id a123. As user id a123, I am able to sudo su into userid admin. There is no direct login for the userid admin. We have to use our ...
0
votes
0answers
23 views

What gets transferred over sshfs?

I have used an sshfs connection on a local network. Because it's a local network, I didn't have any issues with data volumes or transfer. I wonder if anyone can tell me about using sshfs remotely, on ...
3
votes
3answers
2k 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
197 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 ...
5
votes
2answers
3k 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 ...
0
votes
2answers
778 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
32 views

Storing backups on a remote filesystem

I have a FreeNAS solution, in which I'll would like to save my backups. Currently I was doing some scripting to rsync/tarball, but I want a something more easy to manage, so I figure out, to run a ...
0
votes
1answer
222 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 ...
11
votes
5answers
10k 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/ ...
-2
votes
1answer
140 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
418 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 ...
24
votes
4answers
7k 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
120 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
265 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
278 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
1answer
761 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. ...
36
votes
3answers
34k 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 ...
25
votes
1answer
19k 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
939 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
67 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
602 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
541 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
288 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
1k 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
223 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
4k 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
14k 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
1answer
244 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 ...