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
1
vote
0 answers

git clone does not work in (sshfs) mapped drive in windows

We have mounted Z: drive using sshfs in Windows 10. We are able to clone our repo in C: drive but not on the mapped network drive Z: Error: $ git clone https://.git Cloning into ... fatal: Invalid path…
Dhanabal M
  • 11
  • 2
1
vote
2 answers

Read only filesystem populated on demand

Basically I have a file system that is accessible both by NFS and ssh. I need a copy of this on my local. But I want to pull only those files that I need (basically cache them on demand). Since I'll be using this as a read-only fs the cache is…
Samarth S
  • 111
  • 1
1
vote
1 answer

How to prevent sshfs from freezing everything?

How do I prevent SSHFS from freezing everything that attempts to access it when the server doesn't answer? My fstab looks like this: user@domain.com:/home /mnt/data-remote fuse.sshfs …
Cobra_Fast
  • 650
  • 2
  • 8
  • 23
0
votes
0 answers

How to make sshfs (from windows) use chmod 644 instead of 700 as default?

I'm using sshfs-win to connect windows explorer to linux box over ssh. All good but new files are 700 instead of default 644. rwx------ < bad rw-r--r-- < default sending a file over psftp also uses (the prefered) 644. Is there any setting where I…
user65297
  • 335
  • 1
  • 12
0
votes
1 answer

How can I limit the bandwidth over an SSHFS mount?

I am transfering large media files to my local machine over an SSHFS mount. I am not too concerned about speed and want to provide a better QOS to other network services and so want to limit the bandwidth for these transfers. I can't seem to find an…
dippynark
  • 233
  • 3
  • 13
0
votes
1 answer

Keep losing sshfs connection on Linux Mint 19

Edit: I set the dev up with a brand new laptop with a fresh OS install. Connection was still lost. Moved her to a different desk (which would be a different port on the switch in the closet), and the connection was lost. The dev that used to sit…
DevOpsSauce
  • 348
  • 1
  • 5
  • 22
0
votes
0 answers

sshd Match directive

I encountered an issue on the way the sshd daemon is configured, here we have a couple of path exposed in RO by a server, the end user have to use the service in RO on their machine use sshfs to mount it. The configuration are: Match Group ADGroup1 …
AtomiX84
  • 435
  • 2
  • 9
0
votes
1 answer

How to allow a Django application running on Apache to access a remote directory mounted with sshfs

I have a Django application that access a remote directory mounted with sshfs to upload files. The Django application has to read those files as well. The setup is running fine with the Django server (runserver). I suppose that this is because the…
user2641103
  • 101
  • 1
0
votes
1 answer

Can't ssh through user with mounted via sshfs home dir

There are 2 users on machine#0: user#0 and user#1. I can mount the desired dir from user#0 on machine#0 executing: sshfs user@hostname:/home/folder /home/folder The thing is that /home/folder has some-path/user#1 inside, which is home directory for…
0
votes
1 answer

CentOS 7: sshfs can't find fuse, even though fuse is loaded

When I try to run sshfs, I get the error fuse: device not found, try 'modprobe fuse' first. I already ran sudo modprobe fuse, but it just returns immediately without any output and the error persists: [root@localhost main]# modprobe…
0
votes
1 answer

How to properly chroot when using key based authentication within openssh-server

I'm running a Debian Stretch x86_64 server, with OpenSSH_7.4p1 Debian-10+deb9u3, OpenSSL 1.0.2l 25 May 2017. I want to use chroots in combination with OpenSSH server's internal SFTP system. My current setup seems to work, unfortunately excluding…
Felix
  • 101
  • 1
  • 6
0
votes
0 answers

Protect users from accidental delete

I am currently designing an incremental, rotative backup system for a remote filesystem to be accessed over SSHFS. There is this one aspect I still haven't figured out: Protecting the users from their own mistakes, from accidentally deleting some…
poinu
  • 1
  • 3
0
votes
0 answers

Preventing chown, chmod and rm -r over sshfs

I recently did a chown on my home dir but forgot I had used sshfs to map a drive on a remote server. :( Is there a way to make sure no file altering command will "cross over" to the other side? :)
SamTzu
  • 33
  • 6
0
votes
2 answers

My rsnapshot is freezing without errors

I try to make backup-system. I try to use rsnapshot. description: Client with rsnapshot put data in sshfs-mounted folder (sftp backup-server). I make ssh-key, mounted it, everything fine. In rsnapshot conf I enabled link_dest=1, because defaults 0…
mr.frog
  • 129
  • 6
0
votes
1 answer

Can we use sshfs or NFS for LVM?

I want to create LVM using sshfs or NFS. Is it possible at all? I tried searching over web but did not find anything. Forgive me if this question is wrong for this community.
Shiv
  • 119
  • 4