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
1
vote
0answers
37 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
0answers
50 views

How can I create symlinks in sshfs mounts?

Summary Even the simplest symlinks (relative, target in same directory) can't be read after they were created via sshfs itself. ls indicates the presence of the symlink but gets an error as it tries ...
0
votes
0answers
30 views

Sshfs is ignoring acl

I have set a facl for a directory like this: # flags: -s- user::rwx group::r-x other::--- default:user::rwx default:group::r-x default:other::--- Basically, I want all new files, dirs and sub dirs in ...
0
votes
1answer
30 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 ...
0
votes
1answer
69 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:/...
0
votes
1answer
63 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 ...
0
votes
0answers
26 views

Ubuntu unusable when sshfs network drive not responsive

I have a network resource that I like to mount usings sshfs like so: sshfs mylogin@theserver.url:/ ~/theserver -o idmap=user -o exec -o uid=$(id -u $(logname)) -o gid=$(id -g $(logname)) -o ...
0
votes
0answers
79 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 ...
2
votes
2answers
189 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
0answers
42 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 ...
0
votes
0answers
690 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
1answer
59 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 ...
0
votes
0answers
97 views

How to use a remote VDEV in ZFS

I'm trying to set up a backup of a ZFS drive on a remote device. The remote device has insufficient memory (512MB) to run ZFS, so I would like to be able to quickly verify that everything is stored ...
0
votes
1answer
76 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
0answers
8 views

Default sshd_config [duplicate]

I was getting a 'remote host has disconnected' error and came across this thread when trying to troubleshoot the issue. Now I changed the Subsystem value in the /etc/ssh/sshd_config file according to ...
-1
votes
0answers
77 views

sshfs is not mounting automatically at reboot, files get removed after each reboot

Here is what l tried to achieve auto mount. sudo mkdir /mnt/my_remote_desk sudo sshfs -o allow_other,default_permissions xxxx@xxxx.xxxx.xx:/home/data /mnt/my_remote_desk These command line works ...
0
votes
1answer
721 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
1answer
121 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
0answers
164 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,...
1
vote
1answer
422 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
2answers
2k 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 ...
1
vote
0answers
126 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. ...
2
votes
1answer
1k 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
0answers
97 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 ...
1
vote
1answer
2k 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
0answers
195 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
0answers
690 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 ...
0
votes
1answer
135 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 ...
11
votes
1answer
35k 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 ...
2
votes
2answers
612 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
0answers
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 ...
3
votes
0answers
740 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
1answer
263 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] # ...
1
vote
1answer
9k 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 ...
0
votes
1answer
741 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
0answers
869 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. ...
2
votes
0answers
467 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-...
0
votes
0answers
69 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....
1
vote
0answers
436 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 ...
3
votes
0answers
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=...
3
votes
1answer
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 ...
1
vote
0answers
583 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 ...
0
votes
0answers
287 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' ...
4
votes
3answers
10k 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 ...
1
vote
0answers
1k 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@...
1
vote
0answers
203 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, ...
0
votes
1answer
286 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 ...
5
votes
2answers
700 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 ...
2
votes
0answers
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 ...
3
votes
0answers
382 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 ...