SSH File System (sshfs). A tool that uses SSH to mount a remote filesystem on a local machine.
Questions tagged [sshfs]
163 questions
114
votes
7 answers
Mount remote directory using SSH
How to mount a remote directory using SSH to be available same as if it is a local directory?
Maythux
- 87,451
62
votes
6 answers
How to run a script, depending on internet connection
I often mount a remote drive using sshfs. I would love to have this mount automatically. However, if I mount it in my .bashrc or startup scripts, the mount often fails because my wireless internet connection has not yet been made. Does anybody know…
Joey Eremondi
- 709
36
votes
2 answers
fuse: unknown option `defer_permissions'
The following error is given when trying to connect to a remote host using sshfs on Ubuntu (16.04 LTS): fuse: unknown option `defer_permissions' after using the command: sshfs -o allow_other,defer_permissions username@remotehost.com:/…
dhargo
- 461
30
votes
4 answers
sshfs is not mounting automatically at boot, despite /etc/fstab configuration
Setting up some Ubuntu (13.04) workstation, I am trying to have a remote filesystem mounted (over ssh). The current config I created user someuser and added it to the fuse group My fstab entry reads like : sshfs#someuser@remote.com:/remote_dir…
Ad N
- 410
29
votes
1 answer
SSHFS - auto reconnect
I have an SSHFS mount that I can connect using the command line: echo myPassword | sudo sshfs user@home.address:/ /media/NAS -p31337 -o workaround=rename -o password_stdin -o allow_other which seems to mount my NAS to /media/NAS well enough. Very…
Ozzah
- 683
24
votes
8 answers
How to auto mount using sshfs?
I am using the following command to mount a ssh ubuntu directory to my ubuntu pc. sshfs user@192.xx.xx.xx.xx:/dir/dir /home/username/mount/xxx My question is, can I create a script for this in my desktop where I can make a double click and run this…
imuneer
- 455
24
votes
2 answers
fuse: bad mount point `/mnt': Transport endpoint is not connected
I needed to locally edit remote files on my server, so I tried to mount the whole remote file system ( / ) on my local system with SSHFS like so: $ sshfs username@domain.com:// /mnt -p 22 Then it stuck (cursor blinking, no output) , so obviously I…
KiriSakow
- 923
23
votes
2 answers
sshfs is mounting filesystems as another user
So I am trying to mount a folder from another computer in my LAN, and I am able to ssh without any issues. But, I am unable to make any changes when I access the mounted folder. This is what I have done so far: Install: $sudo apt-get install sshfs…
Robert
- 331
- 1
- 2
- 6
21
votes
4 answers
Is there a GUI utility to mount remote filesystems over SSH?
Is there a GUI utility to mount remote filesystems over SSH (SSHFS)?
Olivier Lalonde
- 60,701
21
votes
1 answer
sshfs mounts with user privileges but for umount I need root. why? how?
I'm trying to unmount from nautilus, the directory created by sshfs, but I get this error: Unable to unmount dir umount: /home/user/dir is not in the fstab (and you are not root) I'm not getting why is this happening. How can I unmount sshfs without…
Mihai G.
- 213
19
votes
2 answers
How to prevent SSHFS mount freeze after changing connection after suspend?
I am using SSHFS with reconnect attribute. It works fine, when I suspend notebook and start it again. But problem is when I take notebook somewhere - meaning different IP and different connection (might be Wifi or Ethernet). Mounted SSHFS folder…
Frodik
- 408
19
votes
7 answers
sshfs giving "remote host has disconnected"
I am trying to mount an sftp connection into a folder using sshfs with the following command which throws an error. ~$ sshfs admin@example.com:/ testfo remote host has disconnected The same error happens if I SSH into the system and repeat the…
Slava Knyazev
- 1,068
18
votes
4 answers
Automatically mount sshfs on startup?
Is it possible to automatically mount a sshfs filesystem whenever the connection goes up?
Olivier Lalonde
- 60,701
13
votes
1 answer
Permission denied on SSHFS automount
I am trying to set up an SSHFS connection between two Ubuntu machines, using /etc/fstab so that they automount from the beginning. I have created an .ssh directory in my home dir on both machines, I have created the id_dsa and id_dsa.pub files, and…
Questioner
- 6,959
12
votes
3 answers
How do I specify SSH options for SSHFS?
I had originally asked this as a follow-up question here . Unfortunately, there haven't been any replies so I am posting it as its own question. According to the documentation , you are supposed to be able to use ssh options with sshfs . How do you…
Andrew Shum
- 549