Questions tagged [sshfs]

sshfs is a FUSE file system which allows to mount a directory on a remote system over SSH. It requires the SFTP subsystem being installed (default with OpenSSH server, but not included with smaller SSHd implementations like e.g. dropbear) on the remote system.

68 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
1answer
5k views

How to deal with freezes caused by autofs after network disconnect

I mount four servers (3 via cifs, 1 via sshfs) using autofs. auto.master /- /etc/auto.all --timeout=60 --ghost auto.all /mnt \ /server1 -fstype=cifs,rw,credentials=/etc/.smbcredentials....
6
votes
0answers
991 views

Understanding sshfs and umask

I have a remote access to a server. There I have my umask set to 0007. I refer to my server name as "sme", my local name as "lme". So I do the following: sme@server$ touch f1 sme@server$ ls -l f1 -rw-...
6
votes
0answers
1k views

How to change to a different user after SFTP login

The goal: Use local IDE (IntelliJ PHPStorm 9) to browse & edit remote files via SSH The obstacle: My user on the remote machine does not have permissions to read files, which are owned by ...
5
votes
0answers
657 views

SSHFS mount option default_permissions does not support ACLs - please explain

In regard to the FUSE GitHub page, I have some questions: Does the quote below mean SSHFS does support ACLs if default_permissions is not used? Does it mean that if one needs ACL support and proper ...
5
votes
2answers
1k views

When using expect: SSHFS Transport endpoint is not connected

When I run my SSHFS connection script from bash, everything works perfectly. However, when I run the same script using the expect utility, I get the following error when I try to access the folder ...
4
votes
0answers
1k views

How to use ACL with SSHFS

I want to allow users in the same group ("team") to edit the same files on the server. The directory containing these files is mounted via SSHFS. So far, I was not able to accomplish my goal using ...
4
votes
1answer
2k views

Automating sshfs not working

I want to mount a remote directory and I want to automate this. So I write below script which not working properly. #!/usr/bin/expect -f spawn sshfs vedams@192.168.5.109:/home/user /mnt/remote expect ...
3
votes
0answers
1k views

Unable to mount any remote filesystem using SSHFS

So, I was messing with some repositories last week and ran some updates that seem to have broken some things. I am currently running Mint 17.3 and can no longer mount any remote filesystem using ...
3
votes
1answer
467 views

afuse with sshfs: where do fuse tuning options go?

I'm using afuse to mount some remote directories via sshfs. This works well, but I'm interested in exploring some options like -o kernel_cache and -o large_read. Afuse works by specifying a ...
3
votes
2answers
2k views

sshfs remount hangs

On Fedora 21 current patches, in a local LAN environment, I'm mounting 2 filesystems with sshfs. The remote server is on a reliable LAN network, the ssh keys are correctly setup for passwordless login....
2
votes
0answers
356 views

How to automount SSHFS shares for a user upon login?

My question is how to mount SSHFS shares as the user (not root) upon demand or upon user login using only tools that are in my distro's core repos. I'm using Arch. I don't mind writing a small script, ...
2
votes
0answers
129 views

SSHFS mounts on a mobile laptop - system hangs when not on LAN

This is an Arch Linux system. I have 7 SSHFS mounts listed in /etc/fstab. They all use these options: <source> <mountpoint> fuse.sshfs x-systemd.automount,_netdev,user,follow_symlinks,...
2
votes
0answers
1k views

SSHFS in fstab: Is there logging?

I have configured a sshfs-mount in my fstab (with key-auth). sshfs#sam@192.168.22.100:/ /mnt fuse defaults,allow_other,reconnect,_netdev 0 0 Works well as expected. Last thing I need is a log ...
2
votes
1answer
577 views

Cluster filesystem choice for reading/writing large number of small files

I'm setting up a small Linux cluster for my laboratory. Current we have an login node for job submit and 3 computational node, and they are connected by Gigabit LAN (sadly no infiniband). At first I ...
2
votes
0answers
1k views

Is there anyway to modify one file and sync to the lower directory in OverlayFs?

I know about the overlayfs that it treats lower directory as a read-only and copy_up when we want to modify the lower file so is there any way to modify the lower file and it can copy the modified ...
2
votes
0answers
346 views

Users in sshfs filesystem, or alternatives

I'm trying to use sshfs as a filesystem with encrypted communication. It mostly works, but I'm having some problems related to users/groups. Since I need any user to be able to access the whole ...
2
votes
1answer
388 views

Home server bottleneck (filesystem server)

I am trying to set up a filesystem server, so that I can use my various laptops to transparently mount a directory containing many VirtualBox VMs, some of which run full graphics environments. I will ...
2
votes
0answers
260 views

sshfs: experiencing data loss

I am connecting to a filesystem on a remote server via sshfs. What I do is just to modify these files with emacs. From time to time I am experiencing data loss. While I work on a file and try to ...
1
vote
1answer
11 views

Showing a symlink as-is over an sshfs mount

I have a filesystem on the host that contains symlinks (e.g. /foo/bar -> /baz/bar). I'm able to mount the filesystem over sshfs fine, but the symlink is resolved on the client, e.g. (they're ...
1
vote
1answer
19 views

Autofs: /sshfs-dir

The solution to having a dynamic /nfs dir proved to be extremely simple: https://unix.stackexchange.com/a/584475/2972 I am wondering if I can do the same for sshfs. Let us assume that I can run: ...
1
vote
1answer
16 views

resources mounted via sshfs and fstab on a nginx-server give 404 errors - gone on refresh

Here is a scetch of the situation: I'm running a nginx server (machine 2) which provides the work of our students. The student work itself lies on another machine (machine 1): our gitolite server. ...
1
vote
0answers
38 views

sshfs troubleshooting: what would cause openssl to fail?

I believe sshfs requires an sftp server on the remote computer (router): ipkg list_installed | grep -i sftp openssh-sftp-server - 5.9p1-1 - sftp-server only from a FREE version of the SSH protocol ...
1
vote
0answers
192 views

Connection reset by peer while trying to mount sshfs in fstab

I have the following line in fstab sshfs#dimskraft@MYSERVER:/ /mnt/MYSERVER fuse _netdev,user,idmap=user,transform_symlinks,identityfile=/home/dimskraft/.ssh/id_rsa,allow_other,default_permissions,...
1
vote
0answers
54 views

backup privileged data on remote servers without root ssh

I'm sufficiently new to Linux that I don't understand how to do what I think I want. If you think you know what I actually want, please tell me. I would like to use Duplicity to backup privileged ...
1
vote
1answer
239 views

Using sshfs along with ssh ControlMaster connection

I want to use sshfs to mount a directory from the remote system automatically when I make the first ssh connection and to unmount the directory when I finally disconnect. I currently use ssh's ...
1
vote
2answers
2k views

SSHFS Error: “Bad SSH2 cipher spec 'arcfour'” & “read: Connection reset by peer”

Hellow world! So I've started developing a project that will run on rPi-3B+. I've run into a problem with SSHFS. Right now I'd really like to be able to edit, and commit, the git repo stored on the ...
1
vote
0answers
64 views

Abusing sshfs to mount “many” remote folders

Assuming that I build a management interface which lets me easily mount folders from remote machines on a workstation, is there a problem with having, let's say, a half a dozen of sshfs mounts with ...
1
vote
0answers
185 views

sshfs with automount failing silently

I am attempting to "permanently" mount a network drive (CentOS 7.4) on my local machine (macOS 10.12 Sierra) using sshfs and automount First off, is this actually the most appropriate tool to use ...
1
vote
0answers
305 views

Can’t sshfs from CentOS

I have installed sshfs on my 32bit CentOS 6.9 and trying to mount the same type remote machine: modprobe fuse yum install epel-release mkdir mydir yum install sshfs I run command: sshfs root@10.1....
1
vote
0answers
385 views

SSHFS permissions not correct when mounted with fstab

If the SSHFS share in question is mounted manually by the user with the mount command, the permissions are correct and the user has the expected access. No problems. However, the mount needs to be ...
1
vote
0answers
246 views

New files created through sshfs date from 1970

I wish to mount a remote Linux directory to my local laptop using sshfs. I do this by using autofs. In /etc/autofs/, I therefore have in the auto.ssh file (I used the Arch wiki to guide me for the ...
1
vote
0answers
1k views

automount sshfs with autofs and sshpass

I want to mount partitions from a remote NAS that doesn't support login with a certificate. I created or edited the following files: /etc/ssh/sshpass.232 with ssh password /etc/ssh/sshpass.232.sh ...
1
vote
0answers
620 views

Using sshfs with Synology NAS results in connection reset

I use sshfs to mount a folder from a synology NAS (DS216+) locally to my Ubuntu machine. The command I use is sshfs -o uid=1234,gid=1234,allow_other,default_permissions mysynology.box.com: /mnt/local....
1
vote
1answer
209 views

sshfs:type of file differs from mountpoint

sshfs --version SSHFS version 2.8 FUSE library version: 2.5.0 fusermount version: 2.5.0 using FUSE kernel interface version 7.5 I am trying to mount remote windows filesystem folder to linux server. ...
1
vote
0answers
28 views

Struggling with sharing protocol

I'll try to be as clear as possible, I was struggling for months trying to choose a sharing protocol of all the content of my server. The scenario, one debian server with lot of GB of data, mostly ...
1
vote
0answers
60 views

Problems mounting and dumping to external storage (Mac) from dedicated server (Ubuntu)

I have set up a Kimsufi KS-4A - 16G i7-920 1x2TB Server, and been following this guide on how to create my own Windows template for Kimsufi. I have come to the last steps of the tutorial. What I want ...
1
vote
0answers
351 views

How to make sshfs work?

I want to mount the remote fs that I connect through ssh so that I can use an editor to edit the files. I installed sshfs for this. Running the command: sudo sshfs ubuntu@xxx.xxx.xxx.xxx:/ /mnt/...
1
vote
0answers
553 views

How to allow OpenLDAP user to write data to SSHFS mount point?

I mounted a network drive (Storage Server) to the directory /home/ldap for all OpenLDAP client computers. If a user login one of the computers, their home directory will be set the mount point as: /...
1
vote
0answers
336 views

Can't delete files using SSHFS on windows

My problem is that i can't delete any fails from any folder using my windows sshfs client. Even though i'm logging in through root account, it still says that i do not have enough permission to ...
1
vote
0answers
432 views

How can I mount remove /dev/mem to local

This question is relate to this, but more general. Currently I mount remote root by sshfs sshfs -o sshfs_sync,sync_readdir,reconnect,follow_symlinks,direct_io,sync_read root@pi:/ pi /proc is ok, ...
1
vote
0answers
2k views

sshfs mounts share in read-only mode

I need to mount a share using sshfs. When I mount it using sshfs directly, i.e. # sshfs martin@192.168.1.10:/home/data/ -o allow_other /mnt/data/ or # sshfs martin@192.168.1.10:/home/data/ -o ...
1
vote
1answer
418 views

Sshfs on Beaglebone Black password with Ubuntu arm 3.14

I'm trying to transfer a file to my Beaglebone Black using sshfs. I've installed Ubuntu Arm 3.14. I can use sudo sshfs 192.168.0.102:/ /mnt/sshfs which pops up with root@192.168.0.102's password:, ...
1
vote
0answers
403 views

files & directories are not share on remote server with 777 permission using sshfs

I am successfully mount the remote directories on my local directories, I have to created folder and files with 777 permission so others can able to access this files so that's why I used umask=000 ...
1
vote
0answers
185 views

Kdevelop over SSHFS sometimes stutters last few lines on save?

Sometimes, but not always, a certain file, when saved with Kdevelop over SSHFS to a remote server, will include the last n lines of the file repeated. N is variable from save to save. The file that ...
1
vote
0answers
440 views

sshfs and Emacs: file changed on the disk

I am using Mac 10.6.8 SSHFS version 2.4 fuse4x library version: FUSE 2.8.7 / fuse4x 0.9.2 I connect via sshfs to a remote cluster (via a bridge). I modify the remote files with emacs. The problem ...
0
votes
0answers
9 views

SSHFS with server side renames / move

I'm mounting a remote system with SSHFS with the goal of being able to move folders and rename files inside the remote system using my GUI file manager. However it seems that every time I try to do ...
0
votes
0answers
54 views

How to exclude folders in sshfs mounting?

Is it possible to mount a folder with --no-recursive option and --folder-exclude, maxdepth options?
0
votes
1answer
66 views

ssh into mac from raspberry pi

I am trying to mount a shared drive that exists on my mac in my raspberry pi. I tried searching many different threads on stackoverflow and stackexchange and couldn't find any working solutions. I ...
0
votes
0answers
32 views

how to get desired user permissions from fstab mount?

I'm mounting a directory from a remote host to a directory in my home dir ~/raspi/ using sshfs. I copied root's public key into the remote host's ~/.ssh/authorized_keys file to be able to mount from /...
0
votes
0answers
17 views

Mounted over existing folder

I was trying to mount an sshfs drive in my Documents folder on mac, but I made the mistake of mounting in Documents and not within a folder inside Documents. Everything seems to be gone that I had in ...