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
3 votes
0 answers
223 views

Snap applications (Firefox and Chromium) snap cannot open folders mounted via sshfs

Snap versions of Firefox and Chromium refuse to open folders and files mounted via sshfs while the same folder is normally browseable from the command line and from Gnome and the files can be opened ...
user avatar
  • 31
0 votes
0 answers
31 views

Open/Edit documents using Onlyoffice in the non-installation drive

I have an installation of onlyoffice-desktopeditors with the following specifications OS version: Ubuntu 20.04.3 LTS App version: 6.4.2 Downloaded from: Installed trough snapd Everything works great, ...
user avatar
  • 101
1 vote
1 answer
605 views

Unable to open visual studio code when inside sshfs mounted drive UBUNTU WSL

I've been having trouble with opening visual studio code. The scenario is that I have a server filesystem mounted in my local pc (UBUNTU WSL) using SSHFS. In normal cases, I can open file using visual ...
user avatar
0 votes
1 answer
27 views

Prevent requesting all subfolders with sshfs

I'm mounting a folder using sshfs -o ro -d user@remote:/home/user/folder /home/myuser/local_folder. I can see that there are LOOKUP requests being issued for every subfolder of the folder I am ...
user avatar
  • 51
0 votes
1 answer
2k views

Mount folder from WSL to Ubuntu over SSH with SSHFS

I am trying to mount a folder located inside WSL to my Ubuntu 20.4 machine using SSHFS but I always get the message that there is "No such file or directory." How can I do it? The obvious ...
user avatar
  • 2,528
0 votes
0 answers
54 views

SSH From Vbox Server Into Host

I am trying to use: # sshfs -C hostuser@hostname:/home/users/Downloads/disk_image_files/ /vbox_mount_point_name but I get: read: Connection reset by peer I've tried a bunch of solutions editing the '/...
user avatar
0 votes
0 answers
64 views

autofs mounts all shares instead of only the accessed one

I set up autofs with sshfs to mount my shares when I access them. However, if I access one of them, all of them get mounted which I would like to avoid. Am I doing something wrong? Here's my config /...
user avatar
0 votes
0 answers
366 views

Sharing (sshfs) a folder with another Linux machine on the same home network via fstab? UBUNTU 20.04

First and foremost let me thank zx81roadkill for his excellent description of how to share a folder with another Linux machine on the same home network using sshfs. Everything has worked great for me ...
user avatar
0 votes
0 answers
168 views

sshfs umount after close terminal

I have this command in my script gnome-terminal -- /bin/bash -c "sshfs -o allow_other,port=$port $user@$hostName:/ $mount_point && sleep 1" What will try to mount ssh server to some ...
user avatar
2 votes
0 answers
221 views

sshfs has no installation candidate - universe repository installed [closed]

I have tried to install sshfs in ubuntu, but I keep getting this error stating: Package 'sshfs' has no installation candidate (also shown below). I saw in a similar post that the sshfs package has ...
user avatar
1 vote
0 answers
199 views

Reliably mounting permanently using SSHFS

I want to permanently mount a remote directory with SSHFS and I've used fstab to do this--but only to some success. The problem is that any downtime experienced by the remote server ensures that I'll ...
user avatar
  • 11
0 votes
1 answer
54 views

Shared Drive / Folder

I have a Ubuntu server at home with a static up and domains pointed to it. I would like to allocate a folder to be used on the Home network as a shared folder where anyone on the network can read ...
user avatar
  • 76
1 vote
1 answer
642 views

SSHFS connects works with command but not fstab [closed]

sshfs works when I connect with the command line: jack@lap:~$ sshfs jack@192.168.0.10:/home/jack/LanDrive ~/LanDrive But not when I try to mount it through fstab using this: sshfs jack@192.168.0.10:/...
user avatar
  • 41
0 votes
1 answer
223 views

Mounting using indermediate server and sshfs with autofs

I have a gateway machine (A) and the final machine (B). I have been able to ssh and sshfs to machine B through A using ProxyCommand in ~/.ssh/config. I have made it so that logging in doesn't require ...
user avatar
  • 43
1 vote
0 answers
196 views

Passphrase-protected private key and automatic server directory mounting

I am learning sshfs on ubuntu 20.04, that is the client machine. I have turned on SSH key-based authentication. The Public key has been already stored on my server. I set the passphrase for protecting ...
user avatar
3 votes
2 answers
1k views

Unable to create/edit/delete remote files after mounting them locally with SSHFS

I have a basic server set-up using a RaspberryPI, Ubuntu server 20.04, and Nginx. Using ssh, I can edit the files directly in the terminal, but that becomes sloppy, so I am looking for a more elegant ...
user avatar
2 votes
0 answers
82 views

"Could not enter folder" mounted with sshfs from Kompare

I have a remote folder mounted as sshfs mmatrosov@server: /home/mmatrosov/vm When I try to open a file in Kompare and navigate into this folder, Kompare gives me an error message Could not enter ...
user avatar
  • 121
2 votes
0 answers
1k views

Ubuntu 18.04 - fuse: device not found

I'm trying to make SSHFS work in my Ubuntu 18.04 version (bionic). I run the following command: sudo sshfs -o idmap=user xxx.xxx.xxx.xxx:/path/to/remote /path/to/local I get the following error fuse: ...
user avatar
1 vote
1 answer
172 views

Can't mount sshfs directory at login

I want to automatically mount a sshfs directory at login. So I add this line to the end of my otherwise ok profile: /usr/bin/sshfs he@192.168.1.118:/klipp klipp This however results in Error found ...
user avatar
  • 121
0 votes
1 answer
230 views

I'm trying to use SSHFS to transfer files via SSH to my Raspberry Pi web server, specifically using the GUI

I am new to Ubuntu/Linux. I am running 20.04. So as per the question title I am trying to transfer HTML/CSS etc files to my Raspberry Pi where I am running an Apache web server. I have been searching ...
user avatar
0 votes
1 answer
1k views

How do i transcode video files with ffmpeg by piping the in and output over ssh or by sftp

I have a server with the video files i want to transcode to x265 and have ssh/sftp acces to it. But i am not root on my transcoding machine, therefore couldn't install sshfs, so i decided to pipe the ...
user avatar
  • 71
0 votes
1 answer
285 views

Mounting a remote directory at start up

I am new to servers and getting confused I think. I have created a server using ubuntu server. I can now see the directories I want on my home machine which is running linux I have been trying ...
user avatar
0 votes
0 answers
304 views

Nautilus file permissions on mounted folder

I've mounted a remote server on my local machine by adding remoteusername@remote.ip:/ /mnt/remotename fuse.sshfs IdentityFile=/home/localusername/.ssh/id_rsa delay_connect _netdev,allow_other,...
user avatar
  • 101
3 votes
1 answer
740 views

Mount a file instead of directory using sshfs?

Is it possible to mount a single file instead of a whole directory using sshfs command?
user avatar
  • 484
0 votes
2 answers
3k views

sshfs with fstab: wrong uid, gid and Input/output error

I want to sshfs from my Linux machine (Ubuntu 18.04.2 LTS) to my MacBook. I could do it at command line with sshfs jczhang@10.0.2.2:/Users/jczhang/mysharedfolder /home/jczhang/mysharedfolder It ...
user avatar
1 vote
0 answers
192 views

Monitoring SSHFS mount point with SNMP in Ubuntu

We want to monitor SSHFS mount point with SNMP in Ubuntu but it doesn't show any SSHFS mount point. Maybe because it is encrypted. How we can solve this? Note: we don't have problem with NFS. ...
user avatar
2 votes
1 answer
2k views

Automount remote filesystem on reboot without password with sshfs

What I Want: boot up my system (in this case ubuntu 18.04 on a laptop) have access to a remote filesystem via /home/<user>/mnt/remote-HD0 What I have tried edit /etc/fstab with sshfs command ...
user avatar
  • 21
0 votes
0 answers
135 views

How do I mount my laptop's hard-disk in a remote server (reverse sshfs)?

I was wondering if there is a way to mount a local directory/hard-disk in another server (like sshfs but vice versa) I know it should be possible to use sshfs from the other machine while my own ...
user avatar
  • 101
1 vote
1 answer
6k views

unmount sshfs from mount point

mounted raspberry pi device via sshfs: sshfs osmc@rpi.: /home/user/pi mounting information: user@azimuth:~$ mount | grep osmc osmc@rpi.: on /home/user/pi type fuse.sshfs (rw,nosuid,nodev,relatime,...
user avatar
  • 4,105
1 vote
0 answers
265 views

Why do gvfs shares appear read only when accessed via CLI (command line)?

please try it out yourself: Mount a network share via "file"-"connect to server" in nemo filebrowser (this is a real pain when you try it via nautilus since gnome version 3, but that is another ...
user avatar
  • 818
1 vote
0 answers
1k views

sshfs "reset by peer" after new installation of server OS

I'm trying to mount a drive from my work PC to my home PC using the command below: sudo sshfs -o allow_other home_username@home.ip:/ /mnt/home-pc This command was working fine before. However, I've ...
user avatar
  • 271
0 votes
1 answer
156 views

How to have sshfs disk without auto-mount?

When i have partitions on local disk they appear as not-mounted. i can mount them in any program (krusader, nautilus) and then i can access them in all programs. I want to have the same for sshfs. I ...
user avatar
  • 203
16 votes
1 answer
48k views

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 ...
user avatar
  • 729
2 votes
2 answers
948 views

Create custom mount/unmount entry for nemo/nautilus "devices"

sshfs mounts are shown under "devices" in Nemo and Nautilus, together with this eject/unmount button. The eject/unmount button never works. When I go to the terminal and sshfs something into my home ...
user avatar
  • 3,524
0 votes
0 answers
2k views

sshfs: Mount a volume using sshfs as a readonly directory

I don't understand how this solution worked for everybody who wanted to mount a volume as a read-only directory using sshfs. Everyone suggest using the 'ro' option. I did that, but the files in the ...
user avatar
  • 211
4 votes
0 answers
971 views

I can ssh to the server but sshfs gives me 'no matching cipher found: client arcfour server aes128-ctr,aes192-ctr......'

I can ssh to the server, but sshfs fails with the read: Connection reset by peer error. I have checked all the cases pointed out in this AskUbuntu question, the user is in the fuse group, ...
user avatar
  • 211
2 votes
1 answer
356 views

Using sshfs on C accessed via A and B

The current set up I am working with requires me to ssh onto a machine C by first ssh-ing into A and then into B. Something like this: ssh [username]@[university].com # Machine A ssh [department] # ...
user avatar
  • 41
1 vote
1 answer
13k views

sshfs empty the source path with -o nonempty

I came across a strange mistake, I have some data on machine1 at /temp/user1/data/ I want to share it with another machine2, so I created same directory as mkdir /temp/user1/data/ then on ...
user avatar
  • 638
0 votes
1 answer
862 views

mounting server dir to local dir

How can I mount server dir to local dir using the following command: sshfs -o follow_symlinks I have a hard time to configure it. Thanks
user avatar
  • 449
1 vote
0 answers
1k views

SSHFS recognised SSH Key, still asks for password

I had no problem using sshfs and autofs and my server was doing OK. I am mounting my backup server as a drive on my actual server. But suddenly I noticed it is no longer mounting the backup drive. ...
user avatar
  • 111
2 votes
0 answers
632 views

sshfs: How to mount / to local with normal user ssh-login

I want to backup my ubuntu-server to local storage with borgbackup in "pull-style" via sshfs as described here: borgbackup examples -search page for ("pull" style)- . I configured passwordless ssh-...
user avatar
  • 121
0 votes
0 answers
91 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....
user avatar
1 vote
0 answers
580 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 ...
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: user@192.168.1.123:/home/user/ /home/user/Server/ fuse auto,user,_netdev,reconnect,uid=1000,gid=1000,IdentityFile=/home/user/.ssh/id_rsa,idmap=...
user avatar
3 votes
1 answer
1k 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 ...
user avatar
  • 101k
1 vote
0 answers
803 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 ...
user avatar
  • 769
0 votes
0 answers
322 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' ...
user avatar
  • 1
8 votes
3 answers
17k 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 ...
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@...
user avatar
  • 11
1 vote
0 answers
255 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, ...
user avatar
  • 111