Questions tagged [sshfs]
SSH File System (sshfs). A tool that uses SSH to mount a remote filesystem on a local machine.
161
questions
1
vote
0
answers
116
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....
0
votes
1
answer
47
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, ...
0
votes
1
answer
122
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,...
0
votes
1
answer
33
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 ...
0
votes
0
answers
90
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 ...
0
votes
0
answers
449
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 ...
0
votes
0
answers
52
views
How to run an application installed within a Fedora / qemu-kvm VM directly on Ubuntu using sshfs after exporting the Fedora $PATH in Ubuntu
I would like to integrate Ubuntu,Fedora,Arch or maybe some other distro into one only single,homogeneous and flexible operating (OS) context. I would like to use Ubuntu as host os and the rest of the ...
1
vote
1
answer
165
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 ...
0
votes
0
answers
32
views
How can i mount remote directory from server-B as local shares on server-A permanently
I would like to mount a directory from Server-B as local share on Server-B permanently.
I have used sshfs but when i reboot the remote server the session become disconnected
0
votes
0
answers
76
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-...
0
votes
0
answers
60
views
sshfs to mount folder from GCP Ubuntu Instance on Mac OSX issues
I cannot mount a folder on Mac OS X from an ubuntu image on GCP.
Here is the command on Mac OSX:
sudo mkdir ubuntu_shared
sudo sshfs [email protected]:/ubuntu_shared /Users/myuser/ubuntu_shared -...
1
vote
1
answer
374
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/...
0
votes
0
answers
204
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 ...
4
votes
0
answers
653
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 ...
0
votes
0
answers
44
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, ...
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 ...
0
votes
1
answer
57
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 ...
0
votes
1
answer
5k
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 ...
0
votes
0
answers
81
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 '/...
2
votes
0
answers
494
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 ...
1
vote
0
answers
445
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 ...
0
votes
1
answer
82
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 ...
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]:/...
0
votes
1
answer
342
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 ...
1
vote
0
answers
278
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 ...
4
votes
3
answers
2k
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 ...
2
votes
0
answers
113
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 ...
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: ...
1
vote
1
answer
298
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 ...
0
votes
1
answer
333
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 ...
0
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 ...
0
votes
1
answer
791
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 ...
0
votes
0
answers
364
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,...
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?
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 ...
1
vote
0
answers
243
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.
...
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
...
0
votes
0
answers
215
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 ...
3
votes
2
answers
9k
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,...
1
vote
0
answers
327
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 ...
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 ...
-1
votes
1
answer
183
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 ...
19
votes
2
answers
56k
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 ...
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 ...
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 ...
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, ...
2
votes
1
answer
465
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] # ...
2
votes
1
answer
15k
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 ...
1
vote
1
answer
917
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
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.
...