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
4 votes
1 answer
203 views

Nautilus CLI is Extremely Slow for SSHFS Mounted Paths, but the GUI is Fast

I do most of my navigation in the terminal, however in certain circumstances it is nice to open a directory in a GUI. On Ubuntu Linux the default file browser is nautilius. My workflow is typically: ...
Erotemic's user avatar
  • 445
0 votes
0 answers
61 views

SSHFS to Windows?

I'm exploring Ubuntu as a guest VM on a Windows host. So far so good. Sharing a Windows folder has not yet been solved. For example, using the directions at this site, I tried this commmand: sudo ...
geoB's user avatar
  • 149
1 vote
0 answers
181 views

How can I access a Ubuntu FUSE mount in Windows via WSL?

I'm running Ubuntu 22.04 in Windows 11 via WSL 2.0.4. Within Ubuntu, I've used sshfs to mount a remote directory to /media/remote1. My local Ubuntu user owns the mount point. I want to access that ...
Brian H.'s user avatar
  • 511
1 vote
1 answer
931 views

fusermount permission denied

I have used sshfs on my Linux Mint machine to mount a directory from a different machine in the internet. This worked out of the box. Then I tried the exact same command on a Ubuntu machine (Ubuntu 22....
Simon T.'s user avatar
0 votes
1 answer
87 views

cannot write a remotely mounted file

Before opening my nextcloud server to the internet i'm trying to harden its security by configuring its sshd_config file. Its a ubuntu core server so i can edit files only through sshfs. The thing is, ...
Lorenzo_Kospecz's user avatar
0 votes
1 answer
374 views

Drive in fstab via fuse.sshfs are not mounted after reboot

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,...
fueggit's user avatar
  • 101
0 votes
1 answer
38 views

System won't boot because it thinks it has dependency on sshfs mounts

I have a desktop running Ubuntu 20.04. I typically keep /mnt/wdblue4a and /mnt/wdblue4b mounted with sshfs, just with a script I run manually if I want to access their content. This has never been a ...
Phoenix's user avatar
  • 121
0 votes
0 answers
148 views

FUSE mounted filesystems and snap applications

I've seen lots of questions asking about snap applications and trying to use them to access FUSE mounted file systems. But none of the responses to those questions that I can find give or link to ...
Xuth's user avatar
  • 1
0 votes
0 answers
968 views

ssh and sshfs connection via NordVPN meshnet not working

I have set up an OpenSSH server on my home PC (Ubuntu 22.04 LTS) and am trying to connect to it using ssh and sshfs from my Laptop (Ubuntu 20.04 LTS). The server seems to be running smoothly and I can ...
Stefan's user avatar
  • 1
1 vote
1 answer
363 views

sshfs option idmap=file prevents mounting entirely without error message

We want to use sshfs to mount directories from a server on a client, bit some user and group ids do not match between those machines. The requirement is that user ownership is mapped correctly and the ...
jpp1's user avatar
  • 1,081
0 votes
0 answers
147 views

sshfs mount appears and then disappears after resume from suspend

I would like a certain network directory automounted via sshfs on resume from suspend. With information from another AU post, I have it (partially) working through a script in /lib/systemd/system-...
dqbydt's user avatar
  • 11
1 vote
1 answer
529 views

sshfs folder empty after reboot

I'm using Ubuntu 22.10 "Kinetic Kudu" and I am trying to mount a folder via sshfs following instruction I got online: sudo sshfs -o allow_other,default_permissions server@address:~/ /home/...
AlexLee's user avatar
  • 151
0 votes
0 answers
252 views

Use sshfs simultaneously with multiple users

Please consider the following scenario: Three machines: server S1, client C1 (Linux), client C2 (Windows) An NFS file system that can only be accessed from the server's local subnet The NFS volume is ...
Ferdinand Mütsch's user avatar
4 votes
0 answers
773 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 ...
Pavel's user avatar
  • 41
0 votes
0 answers
54 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, ...
pinpon's user avatar
  • 101
1 vote
1 answer
2k 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 ...
Kurt Rojas's user avatar
0 votes
1 answer
115 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 ...
max1e6's user avatar
  • 51
1 vote
1 answer
6k 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 ...
Adam's user avatar
  • 2,638
0 votes
0 answers
86 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 '/...
nightwatch's user avatar
2 votes
0 answers
577 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 ...
Ashley Swing's user avatar
2 votes
0 answers
649 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 ...
Flowers's user avatar
  • 21
0 votes
1 answer
87 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 ...
Taux1c's user avatar
  • 76
1 vote
1 answer
1k views

SSHFS connects works with command but not fstab [closed]

sshfs works when I connect with the command line: jack@lap:~$ sshfs [email protected]:/home/jack/LanDrive ~/LanDrive But not when I try to mount it through fstab using this: sshfs [email protected]:/...
Jack's user avatar
  • 41
0 votes
1 answer
369 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 ...
MrHat's user avatar
  • 53
1 vote
0 answers
307 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 ...
TADASUKE's user avatar
4 votes
3 answers
3k 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 ...
alin0908's user avatar
2 votes
0 answers
130 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 ...
Mikhail's user avatar
  • 121
2 votes
0 answers
2k 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: ...
ScarletKnight3's user avatar
1 vote
1 answer
335 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 [email protected]:/klipp klipp This however results in Error found ...
user37342's user avatar
  • 141
0 votes
1 answer
368 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 ...
norfolk_uk's user avatar
-1 votes
1 answer
2k 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 ...
Leon D's user avatar
  • 165
0 votes
1 answer
1k 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 ...
dykesy61's user avatar
0 votes
0 answers
387 views

Nautilus file permissions on mounted folder

I've mounted a remote server on my local machine by adding [email protected]:/ /mnt/remotename fuse.sshfs IdentityFile=/home/localusername/.ssh/id_rsa delay_connect _netdev,allow_other,...
Pallie's user avatar
  • 101
3 votes
1 answer
1k 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?
Akhil's user avatar
  • 556
0 votes
2 answers
4k 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 [email protected]:/Users/jczhang/mysharedfolder /home/jczhang/mysharedfolder It ...
Junchao Zhang's user avatar
4 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 ...
Arthur's user avatar
  • 41
0 votes
0 answers
261 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 ...
Alejandro's user avatar
  • 101
3 votes
2 answers
10k 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,...
gatorback's user avatar
  • 5,755
1 vote
0 answers
348 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 ...
jringoot's user avatar
  • 838
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 [email protected]:/ /mnt/home-pc This command was working fine before. However, I've ...
matohak's user avatar
  • 271
-1 votes
1 answer
194 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 ...
piotrek's user avatar
  • 202
19 votes
2 answers
59k 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 [email protected]:// /mnt -p 22 Then it ...
KiriSakow's user avatar
  • 823
2 votes
2 answers
1k 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 ...
Redsandro's user avatar
  • 3,674
0 votes
0 answers
3k 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 ...
Alex's user avatar
  • 211
4 votes
0 answers
1k 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, ...
Alex's user avatar
  • 211
2 votes
1 answer
483 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] # ...
dstivd's user avatar
  • 41
2 votes
1 answer
16k 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 ...
K.Wanter's user avatar
  • 848
1 vote
1 answer
939 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
ASAD's user avatar
  • 489
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. ...
SMahdiS's user avatar
  • 111
2 votes
0 answers
794 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-...
barrios's user avatar
  • 121