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.

learn more… | top users | synonyms

10
votes
2answers
6k views

Do not halt the boot if an fstab mounting fails

I have this line in my fstab: sshfs#ecarroll@o99:/opt/dealermade/ftp/inc /opt/dealermade/ftp/inc fuse defaults,idmap=user,users 0 0 For whatever reason it didn't work -- that's fine. How do I make ...
7
votes
1answer
845 views

sshfs breaks symlinks from SFTP server

Does anyone know how to mount a remote SFTP path via SSHFS so that you can work with symlinks? When I do this, all the symlinks I create point to the wrong files (not the ones I linked to.) All the ...
1
vote
0answers
13 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
0answers
22 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-...
0
votes
1answer
85 views

SSHFS fails, Error - read: Connection reset by peer

SCP is working, but the sshfs is displaying the above error. sudo sshfs -o allow_other -o transform_symlinks username@192.168.2.207:/ /media/SSHFS_bbb
3
votes
1answer
108 views

set umask for sshfs-mounted filesystem

I have a remote sshfs filesystem mounted on /mnt/data. Following is the relevant line in /etc/fstab: www-data@192.168.1.10:/var/www/ /mnt/data fuse.sshfs rw,noauto,nodev,nosuid,noexec,_netdev,...
2
votes
1answer
24 views

SSHFS in fstab requests password even though user connects fine using keyfile

I have added a following line in fstab: sshfs#root@1.2.3.4:/root/dir /home/dir fuse.sshfs defaults,_netdev 0 0 When I try to mount it with mount -a, I get a password request, even though I've added ...
1
vote
2answers
48 views

Differences between rsync on remote and rsync local on mounted sshfs?

Is there any difference if I run rsync with remote host (ssh://) as source/destination or use local path to share mounted directory via sshfs? Could there be differences be with regards to security ...
1
vote
1answer
39 views

Apache does not have the permission to copy files from a mounted directory

My application on the server wants to copy a file from a remote directory mounted by sshfs to a local directory. The application code: shutil.copy('/data/somdir/somefile.txt','/var/www/App/...
1
vote
3answers
2k views

Mount with sshfs and write file permissions

I try to sshfs mount a remote dir, but the mounted files are not writable. I have run out of ideas or ways to debug this. Is there anything I should check on the remote server? I am on an Xubuntu 14....
0
votes
0answers
28 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 ...
3
votes
2answers
58 views

How to make ssh account capabele to only sshfs and rsync?

I'd like to make ssh account that is capable of doing two things: mounting (can be one) directory via sshfs performing backup&recovery of his/her desired directories using rsync I would love ...
1
vote
0answers
42 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, ...
2
votes
2answers
202 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....
0
votes
1answer
73 views

SSHFS on Asus DSL-AC68U router

I have an Asus DSL-AC68U router. I can easily ssh to it: ssh router After having configured the proper options in .ssh/config: Host router Hostname ddnshostname User myuser KexAlgorithms +diffie-...
1
vote
0answers
22 views

timeout when initiating a sshfs connection

I have following line in /etc/fstab 192.168.1.10:/data /mnt/data fuse.sshfs rw,noauto,nosuid,nodev,noexec,_netdev and following line in /etc/rc.local: mount /mnt/data During boot process, ...
1
vote
1answer
200 views

Fastest file copying within sshfs directory (rsync?)

I have a directory on a remote server remote1, mounted via sshfs. I am installing new versions of some of the files in the remote directory, which are quite large (~50M). I am currently using ...
3
votes
1answer
530 views

Force reconnect on sshfs drive mounted via fstab

I have a remote sshfs drive that I use on a daily basis. I previously executed the following command every time I booted up my computer. sshfs -o Ciphers=arcfour -o Compression=no -o reconnect remote:...
5
votes
6answers
18k views

sshfs always asking for password in fstab?

I'm trying to enter an sshfs mount in /etc/fstab with the following line: sshfs#oli@192.168.0.2:/media/usb0 /media/ExtHD fuse defaults,nonempty,allow_other 0 0 So that this volume is mounted at ...
4
votes
2answers
11k views

How does _netdev mount option in /etc/fstab work?

I'd like to know what is the exact mechanism (implementation) used to defer mounting until after network interface is up when one uses _netdev option in /etc/fstab? Does systemd alter this behavior? ...
0
votes
1answer
287 views

HOWTO: sshfs via socks proxy

I have some bridge host, which allows access to protected network. I connect to it using this command: ssh sergius@bridge_host -D 3128 Thus, I can turn on socks proxy in browser and it works. I can ...
5
votes
1answer
142 views

Persistently mount remote filesystem? i.e. SSHFS/mosh?

I work with a very large remote filesystem, so I like to use mosh instead of ssh for low-connectivity persistent connections, or just when my computer sleeps. For editing files though, I mount the ...
0
votes
0answers
57 views

Mount with KDE a fstab defined partition

I have a fstab line to mount a remote filesystem through sshfs like this: user@domain:/path/ /media/user/folder fuse.sshfs noauto,_netdev,user,idmap=user,transform_symlinks,identityfile=/home/user/....
1
vote
1answer
87 views

sshfs: permission denied when trying to access specific folder

I can access to my specific folder like this: ssh -YX xxx@xxxxxx.xxx.xxxx.xx cd ../the/folder/I/want or with an absolute path ssh -YX xxx@xxxxxx.xxx.xxxx.xx cd /the/absolute/path/to/the/...
2
votes
0answers
431 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 ...
2
votes
0answers
239 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 ...
2
votes
2answers
312 views

Input/Output Error when rm/mkdir

So I goofed when using sshfs and the folder I was using as a mountpoint for the server has been borked. The server wasn't unmounted correctly (I think due to a network drop out). consequently, when I ...
0
votes
1answer
95 views

Mount a USB unit via ssh to transfer music using Amarok

I want to use Amarok to transfer my audio files to my cellphone (Android). Amarok allows transfer files using only USB drives. Then, I though in mount my cellphone using ssh or sshfs. At the moment, I ...
2
votes
2answers
629 views

How to mount automatically sshfs when RSA authentication is not an option?

I would like to mount a file system on a remote machine automatically at each Linux startup. However I always need to use password authentication because I cannot use ssh-copy-id. How do I make this ...
0
votes
0answers
271 views

sshfs connection breaks, and cannot be re-established (“Stopping User Manager for UID 65534”)

A Raspberry Pi device connect to my NAS via sshfs, and saves a large backup on it. After some time, the sshfs connection breaks, resulting in a broken backup. At the raspberry system, the sshfs ...
1
vote
1answer
90 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
1answer
930 views

sshfs - transport endpoint is not connected

After reinstalling the server I can not mount it sshfs root@domain.com:/var /remote_mount fuse: bad mount point `/remote_mount': Transport endpoint is not connected update # ssh root@domain.com ...
39
votes
4answers
18k views

What is a better way to deal with server disconnects of sshfs mounts?

I have several directories mounted through sshfs. I sometimes get disconnects from the server (not configurable by me). I usually mount the directories like this sshfs user@server.example.com:/home/...
9
votes
1answer
791 views

Using ACLs over read only/remote filesystem

I would like to define local ACLs to be used over a remotely mounted filesystem. The filesystem is mounted via autofs and sshfs FUSE. The idea is that we could setup a jailed user on a jump server ...
3
votes
1answer
42 views

Do a command in all open shells

I use sshfs to do useful things on my dev box. I love it. But, I usually forget to fusermount -u before I close my lid (triggering hibernate). Then, when I come back, sshfs is frozen and I have to ...
2
votes
1answer
134 views

Detect remote sshfs mounts on local machine

I would like to get back the question of this post. When a user in a remote client mounts a directory from a local server on his filesystem through sshfs, he is not visible in the server through who ...
3
votes
1answer
267 views

Monitor folders mounted via SSHFS

I want to monitor changes made a folder that is mounted via SSHFS. I have tried iwatch but it does not notify when a new file is created, below is the syntax I am using with iwatch: iwatch -e create ...
4
votes
1answer
103 views

How can I get information about remote directories mounted through sshfs?

If I mount a directory from a remote server on my local machine using sshfs, how can I find out such details as: Whether any such mount is currently mounted; The user who mounted it; The remote and ...
4
votes
2answers
673 views

sshfs over mosh tunnel

I am using sshfs over ssh tunnel. The reason for this is because I do not have direct access to machine from which I want to mount file system. This command establishes me tunnel: ssh -o ...
3
votes
1answer
705 views

User specific fstab for fusermount

I wonder if there is something like "user specific /etc/fstab" for fusermount? ~/.fstab, ~/.config/fstab, something the like, which would work in cooperation with FUSE. I used sshfs foo.bar: foo.bar/...
0
votes
0answers
75 views

sshfs finding the password for the root user of a remote machine?

I'm currently setting my laptop and raspberry pi to have a sshfs link between the two for quick file transfer. I was able to log into the users of each machine using my password with no issue, so ...
1
vote
1answer
471 views

Using git over sshfs on OSX

Due to a new job, I'm switching from working on Ubuntu 14.04 to OSX Yosemite. I mainly work in R, and I was using RStudio and git to manage my code on a server (Debian). To this I mounted the server ...
17
votes
2answers
18k views

Unable to use -o allow_other with sshfs (option enabled in fuse.conf)

I have the following on my /etc/fuse.conf file: # Set the maximum number of FUSE mounts allowed to non-root users. # The default is 1000. ...
2
votes
0answers
181 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 ...
2
votes
1answer
454 views

Remount sshfs directory - how to handle this?

There are a bunch of files in a remote directory which I want to access over sshfs and then script some operations. In practice, I wish to access different files at different times, and perform ...
2
votes
1answer
265 views

Lazy mount of remote filesystem (with sshfs)

I have a remote computer, and I mount its filesystem with sshfs to my local folder ~/user@host, like that: sshfs user@host: ~/user@host Works nice, but I want to implement "lazy" mount: i.e. I don'...
1
vote
2answers
1k views

How do I use my own local text editor to modify system (requires root to save) files on a remote system?

I've recently fallen in love with github's Atom text editor, and I enjoy using it for all my local coding and configuration. I started to maintain a Nagios installation for several dozen servers and ...
1
vote
0answers
123 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 ...
26
votes
1answer
21k views

sshfs mount, sudo gets permission denied

I am using sshfs to mount a folder with some python projects over ssh to my ~/ directory. $ mkdir -p ~/mount/my-projects $ sshfs user@example.com:/home/user/my-projects ~/mount/my-projects I can ...
1
vote
1answer
447 views

bash script problem when run from desktop launcher

I have a script which does the following: Connect via sshfs to a directory on a server Within that directory, there is an encrypted volume. Open it to the device mapper. Mount to a local directory (...