sshfs is a FUSE filesystem for Linux which allows directories on remote machines accessible via SSH to be mounted locally.
Questions tagged [sshfs]
146 questions
0
votes
1 answer
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 works isn't necessarily important - it runs just…

Devin
- 355
- 1
- 3
- 10
0
votes
1 answer
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 internal server. What's going on with this patch? Will it arrive…

isync
- 703
- 2
- 8
- 20
0
votes
2 answers
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 www-data could use independently on one server or the…

Bastian
- 283
- 3
- 16
0
votes
1 answer
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 generated files (it's a Django user media…

Bastian
- 283
- 3
- 16
0
votes
1 answer
Where to define sshfs options when using autofs?
I have used the following guide:
http://www.tjansson.dk/?p=84
to mount an SSHFS using Automount. The implementation works great. However, I need to add an option to SSHFS as defined…

Jake Wilson
- 8,814
- 29
- 97
- 125
0
votes
1 answer
sshfs fail when remote server relogins on login
I'm trying to mount a remote disk using sshfs. The code is:
sshfs user@server:/ /home/user/folder
The problem could be that the remote server relogins the connecting user under a different user upon login. And therefore when i try to use this code…

barin
- 103
- 3
0
votes
1 answer
How and when should I mount a remote filesystem using SSHFS?
I managed to get SSHFS working smoothly. I've added the following line to my /etc/fstab:
sshfs#xxx@remote_host:/path_to/remote/content /path_to/local/content fuse \
comment=sshfs,noauto,user,exec,allow_other,reconnect,kernel_cache, \
…

Jan Deinhard
- 2,383
- 5
- 26
- 33
0
votes
2 answers
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 password from the Ubuntu device to the NAS.
If…

Justin S
- 350
- 3
- 15
0
votes
2 answers
traffic shaping in linux: ssh vs sshfs
I have a regular linux box with limited banwidth which I acess through SSH.
From time to time I transfer files to/from this box with sshfs/sftp.
Please advise me on how can I set up the traffic shaping on this box so that the (interactive) ssh…
Tintapok
0
votes
1 answer
Failing SSHFS connection drags down the system
From time to time my sshfs mount fails.
All programs using the mount freeze when it happens. I can't even ls anything or use nautilus.
Is there a way to find out what's the cause and how to handle it?
I've noticed regular SSH sessions to the server…

Jelle De Loecker
- 1,094
- 6
- 17
- 30
0
votes
3 answers
How to provide web access to interact with a file system?
I need to be able to provide web access to interact with a file system (upload/download files). In general people will access these files using sshfs but in a pinch we want people to have web access to these files. We want to run a web server,…

caleban
- 1,116
- 5
- 18
- 34
0
votes
0 answers
No read/write access to files owned by root, when using sshfs as root
I am using sshfs. I log in as root: sshfs root@domain.pl:/ /mnt/remotes/domain.pl-root (using keys). The login process is successful. When I create any file anywhere in /mnt/remotes/domain-root/, its owner and group are root. So it seems that I am…

konrados
- 103
- 3
0
votes
0 answers
When mounting external disk in fstab via fuse.sshfs it requires password although identityfile is set
Using Ubuntu 22.04. My fstab entry:
some_user@some_storagebox.com:~/somedir /mnt/volume fuse.sshfs defaults,allow_other,reconnect,_netdev,users,ServerAliveInterval=15,identityfile=/root/.ssh/id_rsa,uid=101,gid=101,ServerAliveCountMax=3 0 0
Check…

fueggit
- 113
- 4
0
votes
0 answers
SSHFS performance tanks, why?
I have two Ubuntu 22.10 computers connected one to another via SSHFS. When I copy small files there is no problem but... once I start copying several gigabytes of data at a time, the performance sinks to zero for more than half the time. See…

ArekBulski
- 101
- 1
0
votes
0 answers
sshfs slow from one machine but not from another
Situation
I have two web servers that connect to a file repository over sshfs:
/usr/bin/sshfs -f -o reconnect -o follow_symlinks -o allow_other \
repo@files3:/var/repo /var/repo
On one web server this mount point can be used with "normal" speed,…

Lucas
- 193
- 1
- 10