Questions tagged [sshfs]

SSH File System (sshfs). A tool that uses SSH to mount a remote filesystem on a local machine.

Filter by
Sorted by
Tagged with
0 votes
0 answers
106 views

How to connect storage to web server with sshfs?

I started to installed a vmware web server. The server first was in the local lan. (192.168.137.200) At this time I could attach (mount) a sshfs folder to the server from the host machine (192.168.137....
István Radics's user avatar
1 vote
0 answers
710 views

SSHFS not connecting at login using .profile - connection reset by peer

I'm trying to create an sshfs connection when I login, so I have added a call to a script within the ~/.profile which runs the sshfs command. Here's the script that is called: !/bin/bash sshfs ...
wedsa5's user avatar
  • 11
3 votes
0 answers
1k views

Automounting sshfs-share via fstab

I am automounting a share for a user in fstab like so: [email protected]:/home/user/ /home/user/Server/ fuse auto,user,_netdev,reconnect,uid=1000,gid=1000,IdentityFile=/home/user/.ssh/id_rsa,idmap=...
participant's user avatar
3 votes
1 answer
2k views

Unmount SSHFS from Nautilus (with umount)

I can mount an SSHFS like this: sshfs -o idmap=user SSH_HOSTNAME:/ ~/mountpoint Now it's nicely displayed in Nautilus like a removable device with an eject button. On clicking that button though, I ...
Byte Commander's user avatar
  • 107k
1 vote
0 answers
1k views

removing files after sshfs

l used the following command : sshfs vincet@remote_server:/home/code /home/my_code_remote_server After that if in my laptop l do the following : rm -rf /home/my_code_remote_server Am l going to ...
vincet's user avatar
  • 789
0 votes
0 answers
376 views

Unable to mount sftp drive using sshfs - could not open builtin file

I'm trying to mount sftp drives to my box (Ubuntu trusty - yes I know its old) however I'm getting an issue whenever I try Output from sshfs command fuse: device not found, try 'modprobe fuse' ...
Sim's user avatar
  • 1
8 votes
3 answers
29k views

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 ...
Andrew Shum's user avatar
1 vote
0 answers
2k views

Using SSHFS to Mount Remote File Systems Over SSH, but no write permissions on mounted files

I am using SSHFS to mount some files from a debian machine to my laptop which runs ubuntu 16. sudo sshfs -o allow_other,port=2222,default_permissions,nonempty,IdentityFile=home/alex/.ssh/id_rsa alex@...
StefanB's user avatar
  • 11
1 vote
0 answers
308 views

Mounting a webcam from one computer to another over local network

So I have this python application on my laptop that needs to use the webcam, or more precisely the /dev/video0 folder. Now this application needs to use the GPU, and my laptop is not powerful enough, ...
Dammi's user avatar
  • 111
0 votes
1 answer
556 views

access sshfs directory with gui

I mounted a remote directory on my computer and it seems fine - I can cd to it or open an editor from the terminal and see all the files etc. But when it try to access it from the gui menu access is ...
proton's user avatar
  • 147
5 votes
2 answers
2k views

Cannot mount anything in a particular local directory using sshfs

I use sshfs to mount a remote directory locally. I use Xubuntu 16.04 inside a VirtualBox virtual machine. Yesterday, while everything was mounted, I saved the state of the virtual machine and closed ...
user2891462's user avatar
3 votes
0 answers
2k views

use systemd to mount sshfs

I am running Ubuntu Core on my Raspberry Pi and I would like to map a drive connected to a local server. On other devices I use the sshfs to map this drive locally and it works. However on Ubuntu ...
V Bota's user avatar
  • 703
3 votes
0 answers
539 views

Cannot read file on filesystem mounted through fstab sshfs

I am trying to ensure that certain files in a mounted filesystem are readable to at least one non-root user. However, at the moment, even root user is not able to read these files. Here is my ...
Andrew Eisenberg's user avatar
0 votes
0 answers
798 views

sshfs with config entry and/or ProxyCommand?

I have been playing with the ProxyCommand in my config files on any devices I take away from home so that I don't have to open ports through my new DD-WRT NAT to connect to machines behind the ...
Scott's user avatar
  • 140
11 votes
1 answer
16k views

How do I mount my Android's filesystem over the network with sshfs?

How do I mount my Android device over the wireless network with sshfs so I can access its files trough my file explorer or terminal?
Frederik Baetens's user avatar
1 vote
1 answer
1k views

How to directly edit my Ubuntu server files from my desktop Ubuntu [closed]

I am accessing my server (Ubuntu based) from my local Ubuntu using terminal. I would like to open files on the server using my local application (for example, Sublime editor). Could anyone help me in ...
Rajeev Jayaswal's user avatar
6 votes
1 answer
6k views

Help setting up sshfs

I'm trying to sort out file sharing on my 16.04 PC and have been advised to use sshfs. From the wiki I'm trying to follow the instructions but not getting very far. I've installed sshfs and checked ...
Jon Homer's user avatar
1 vote
1 answer
111 views

Bashing Script within a Script

I wrote a little script which allows me to connect two a couple of servers via SSHFS. The script sets the variables or puts in defaults if nothing is entered i.e. SSH port 22. I want to create a ...
denski's user avatar
  • 331
0 votes
1 answer
265 views

Starting a bash script after gnome-keyring-daemon but before gnome-encfs?

I need to mount an sshfs after gnome-keyring-daemon becomes available (i.e. not in my .profile & presumably after /etc/xdg/autostart/gnome-keyring-ssh.desktop has completed (however I have a doubt ...
asoundmove's user avatar
2 votes
2 answers
1k views

How to overcome SSHFS error "Software caused connection abort" during copying files

I'm experiencing same problem on two different computers, running Ubuntu 14.04 LTS. I am copying from server (also 14.04) over SSHFS large amount of data and files (few gigabytes). One computer is ...
Frodik's user avatar
  • 368
3 votes
1 answer
893 views

Secure way to use GUI to ask for network password when using sshfs?

I have a folder which is stored on a remote server and which is mounted locally using sshfs. Obviously, this requires a password to log on to the server. I would like to get a gui to prompt me for ...
Lu Kas's user avatar
  • 197
1 vote
1 answer
6k views

Unable to write to SSHFS folder

I've mounted a file system under SSHFS that I previously was using with NFS4 without issues. user@server:/mnt/a/folder /mnt/folder fuse.sshfs defaults,default_permissions,_netdev,allow_other,uid=...
user1884067's user avatar
4 votes
3 answers
18k views

"fuse: bad mount point No such file or directory" but the file exists

My system is 32-bit so this answer doesn't help me. I am trying to use sshfs to no avail: $ sshfs -o IdentityFile=/home/aventinus/.ssh/id_rsa [name]@X.X.X.X:/data/[folder name]/[folder name]/ /...
Aventinus's user avatar
  • 206
2 votes
0 answers
133 views

mount drives at boot failed

For mounting sshfs I have a shell script: #!/bin/bash sshfs -o allow_other user@ip-address:/remote/path /local path If I run the script after I boot up the server, it will mount, but it won't mount ...
gr8dango's user avatar
0 votes
0 answers
29 views

Ubuntu doesn't run the program which is added to the startup

I have to re-login to make it works, and do it every time I turn on my computer. This is the command which I have added to the startup.
JulianLai's user avatar
  • 1,572
15 votes
2 answers
12k views

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 (...
Frodik's user avatar
  • 368
36 votes
2 answers
25k views

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,...
dhargo's user avatar
  • 461
17 votes
6 answers
46k views

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 [email protected]:/ testfo remote host has disconnected The same error ...
Slava Knyazev's user avatar
1 vote
1 answer
547 views

16.04 Quicklists SSHFS Mount Problem

I have a launcher that looks like this... [Desktop Entry] Name=Mount Options Comment=Mount Utility (Unmount by Default) Exec=sh -c "sudo umount /media/*" Icon=/usr/share/icons/nouveGnomeGray/48x48/...
Haskell McRavin's user avatar
0 votes
1 answer
969 views

How to mount directory from vagrant box on local FS using SSHFS?

I want to mount the / of the vagrant box on to the local fs using sshfs. the command i used was sshfs [email protected]:/ . The authenticity of host '192.168.0.106 (192.168.0.106)' can't be ...
juggernauthk108's user avatar
29 votes
1 answer
36k views

SSHFS - auto reconnect

I have an SSHFS mount that I can connect using the command line: echo myPassword | sudo sshfs [email protected]:/ /media/NAS -p31337 -o workaround=rename -o password_stdin -o allow_other which seems ...
Ozzah's user avatar
  • 683
6 votes
2 answers
2k views

Use sshfs with ssh-agent and/or kwallet

I am using sshfs with a password protected key pair to mount a remote folder using a shell script. I am also using ssh in that script. Every time I start the shell script I get a password request on ...
Silicomancer's user avatar
1 vote
0 answers
160 views

Mount an ssh file system automatically after network connection has been established and after login

I use the following command to mount a file system over ssh: sshfs mother:/netvol /netvol This uses a public/private key pair for authentication, one that resides within my home directory. As such, ...
Shedeki's user avatar
  • 35
1 vote
0 answers
756 views

How to use mv to move a file between two partitions

I have two partitions of an external drive mounted on computer A. A's "media" folder is then mounted using sshfs on computer B. On B I can move files between the two partitions in the file manager. I ...
Reza's user avatar
  • 1,235
3 votes
2 answers
21k views

How to resolve "/bin/sh: 1: sshfs: not found" when trying to mount remote drive?

I'm trying to mount a remote drive on a server that I have SSH access to using fuse/sshfs I created a mount point at /mnt/review/server and created the following entry in my fstab, as per ArchWiki: ...
HorusKol's user avatar
  • 1,497
4 votes
1 answer
2k views

How can I ensure that my sshfs mounted drives stay connected as much as possible?

I have been trying to get this to work forever and ever and it's just past my ability now. I have read just about everything I can on this...and yet I can't resolve the issue. Here's the short story. ...
sfurules's user avatar
1 vote
1 answer
2k views

automatically unmount sshfs network drives before VPN disconnects on suspend

Reasonably new linux user here. For my work, I regularly mount two network drives via sshfs in Xubuntu 15.05. Now I've written a little bash script to mount/unmount both drives & create a symlink ...
SeveralBlueberries's user avatar
1 vote
1 answer
606 views

Can I use fstab to mount ssh without pub keys and without entering a password?

I regularly have to mount a path via ssh from a server I don't have root access to. Pub key authentication is disabled and I cannot enable it and they won't enable it. Pub key authentication is no ...
Meng Tian's user avatar
  • 558
1 vote
1 answer
1k views

SSHFS - File time not updating

I have an apache webserver that has the code mounted through SSHFS. When I make a change to a file on the remote computer, the webserver does not show the change. If I interact with the file in any ...
Programster's user avatar
  • 5,871
0 votes
1 answer
534 views

Problem mounting ssfsh with fstab

So, I'm trying to mount a local network folder through sshfs. The following is in my fstab: [email protected]:/home/jackie/.kodi/ /home/jackie/KBox/ fuse.sshfs delay_connect,_netdev,user,idmap=user,...
xoxojackie's user avatar
1 vote
1 answer
714 views

Limiting curlftpfs/sshfs overhead in Nautilus, or any other file manager

I've automounted four FTP directories with curlftpfs and two SFTP directories with sshfs in my /etc/fstab on Ubuntu Desktop 14.04. When I open the /mnt folder in which all directories are mounted, ...
user avatar
2 votes
1 answer
2k views

SSHFS to make remote external drive visible in Nautilus?

Host is running OpenSSH server at 192.168.1.23 and contains three drives: /dev/sda (Ubuntu OS running server) with /home/<username> /dev/sdb as a fixed drive with music, and /dev/sdc as an ...
jtd's user avatar
  • 2,375
2 votes
1 answer
907 views

Kill SSHFS at shutdown? (systemd / upstart)

Apparently having an SSHFS mountpoint active while trying to restart or shutdown Ubuntu can cause the system to hang. I would really like to avoid having to possibly power cycle, due to using an md ...
Dale Mahalko's user avatar
0 votes
1 answer
361 views

Auto-Mount web server with SSHFS

Okay, I'm running out of ideas here. Because of the password authentication with SSHFS and because SSH keys do not seem to be supported on the web server, I am simply looking for a script I can run @...
WxPilot's user avatar
  • 1,836
3 votes
1 answer
5k views

sshfs You do not have the permissions necessary to view the contents of mounted directory

Hello I am pretty new to using sshfs and I can view my mounted directory when I use root under the terminal. I do this by using sudo -i Then I can navigate to my mounted directory and view my ...
TerNovi's user avatar
  • 407
1 vote
2 answers
3k views

How can I view all the folders currently mounted through sshfs?

I mounted several folders through sshfs and I lost track of them. Can anyone guide me how do I list all the folders that are currently mounted using sshfs?
Vivek V K's user avatar
  • 297
7 votes
3 answers
21k views

Auto mount sshfs volume through fstab with password auth

I have a headless server running Ubuntu 12.04.4 that needs to come back up after a reboot without user intervention. There is an existing manual process that involves looking at files on a remote ...
Chris Smith's user avatar
0 votes
2 answers
567 views

Logging onto work VPN using linux

I am new to linux. I was using windows for years now ,and my work from home was done by using vnc viewer. I use vnc to log into an linux system. Now I am using a linux system , is there any way i can ...
Curious Guy 007's user avatar
2 votes
1 answer
599 views

Mounting via cifs or sshfs at boot depending on wifi SSID

I have a ubuntu home server 12.10 that is available over the internet for SSH connections. I also have my ubuntu laptop that I use at home and when on the road. What I would like is that during the ...
dhevans79's user avatar
5 votes
1 answer
25k views

modprobe fuse returns module fuse not found

I have ubuntu 12.04 and the kernel version is 2.6.32 Linux user1 2.6.32-042stab083.2 #1 SMP Fri Nov 8 18:08:40 MSK 2013 x86_64 x86_64 x86_64 GNU/Linux When i run the command modprobe fuse it says ...
Pradyut Bhattacharya's user avatar