Questions tagged [sshfs]

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

146 questions
0
votes
3 answers

Can I move a subtree containing files owned by 3 different users to an sshfs mount point?

I have a tree of files and folders, most of which are owned by the principal user we'll call "laurel". One of the subtrees is wholly owned by another user called "hardy". Finally, because Laurel & Hardy like mysql, there's a mysql data directory…
Eric
  • 99
  • 6
0
votes
1 answer

AutoFS/Automount doesnt mount ext4 imagefile on sshfs mount

I'm trying to automount an ext4 sparse imagefile on an sshfs mount but it doenst work like its supposed to be :/ I also mount the sshfs mount via autofs and this works like a charm but when I try to add the automount for the imagefile nothing…
localhorst
  • 11
  • 2
0
votes
1 answer

SSHFS mount remote directory which subfolder are mounted locally

I have two servers FTPa and FTPb Each server is running PHP web file transfer app that sits in /var/www/html/files/ On both servers some of the app subfolders are mounted with folders inside /sftp/ E.g. mount --bind…
fermerius
  • 103
  • 2
0
votes
0 answers

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 root login via SSH on that server, even with…
rahim123
  • 355
  • 1
  • 4
  • 13
0
votes
1 answer

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 with no package manager; the idea being it is only a…
Mark
  • 13
  • 3
0
votes
1 answer

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 root@1.2.3.4 SSHFS root@1.2.3.5:/tmp /tmp/1 Ports are ok,…
Jayne
  • 39
  • 1
  • 2
0
votes
1 answer

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 simple backup solution on a different server, while…
Matías
  • 447
  • 1
  • 6
  • 16
0
votes
1 answer

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 the error: read: Connection reset by peer Does…
flip79
  • 143
  • 8
0
votes
0 answers

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 reset by peer. Any ideas what might be wrong here…
Chani
  • 145
  • 8
0
votes
2 answers

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 machines, with simultaneous access to the remote files…
null_pointer
  • 3
  • 1
  • 2
0
votes
1 answer

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 working with ssh: ssh -i /home/me/.ssh/myKey…
Chris Ostmo
  • 113
  • 1
  • 8
0
votes
3 answers

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 allow_other -o uid=500 -o gid=500 …
glarkou
  • 149
  • 1
  • 8
0
votes
1 answer

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 takes 13 mins to complete while doing the same on…
Alex Flo
  • 1,761
  • 3
  • 18
  • 23
0
votes
1 answer

fuse not working in centos 5.3 xen guest

I have a centos 5.3 64 bit XEN guest running on a 64 bit centos 5.3 XEN host. I'm trying to get sshfs installed on it but am running into some problems. I've installed fuse and fuse-sshfs from rpmforge (using yum). But whenever I try to mount a…
Chris Gow
  • 143
  • 6
0
votes
2 answers

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 test@somewhere:/ /home/me/test -o idmap=allow_other I…
PJ Brunet
  • 586
  • 1
  • 5
  • 15