Questions tagged [sshfs]

SSHFS is a tool that uses SSH to enable mounting of a remote filesystem on a local machine.

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

How to unmount a mountpoint I mounted with FUSE earlier, after `sshfs` process is gone?

I used sshfs example.com:/path/to/remote/directory foobar to successfully mount a remote directory at a mountpoint I created with mkdir foobar (I own the directory). But the mounting was done on a ...
user avatar
  • 2,134
0 votes
1 answer
10 views

SSHFS user name containing colon syntax

I can connect to my server using ssh : ssh -p 22 root@app_name:userName@host But sshfs thinks app_name is my host : sshfs -odebug,sshfs_debug,loglevel=debug -o allow_other -p 22 root@app_name:...
user avatar
  • 11
5 votes
1 answer
1k views

cd in a Makefile doesn't seems to be taken into account after sshfs

I have a Makefile with a sshfs command followed with a cd command: mr: # mount-remote sshfs -p 5022 -o nonempty myname@myssh.serveur.fr:mnt /home/julien/myworking_path cd ./...
user avatar
  • 205
0 votes
1 answer
100 views

sshfs permenant mounting without password prompt

I have two Linux machines Linux 1 Linux 2 I mount a directory on Linux2 to Linux one as below: sudo sshfs -o allow_other MYUSER@XX.XXX.XXX.XXX:/usr/XXXXX/bin /opt/Project/MountHere/ This works, but ...
user avatar
0 votes
1 answer
35 views

Make write to sshfs atomic

I'm using sshfs to run some process on one mashine and store the result on another one. The command I'm using to mount is sshfs user@host:/rempte/path /local/path. The scrip I'm running creates a file ...
user avatar
  • 321
-1 votes
1 answer
131 views

Windows 10 SSHFS Suddenly Stopped Working - System Error 67

I've been successfully using SSHFS on my Windows 10 computer to mount a VirtualBox Ubuntu drive for over a year. Then, suddenly today, I started getting System error 67. I've used the same exact ...
user avatar
  • 1
0 votes
1 answer
84 views

Locally edit remote directories/files via ssh tunneling

As the title suggests I want to edit on my local machine (Machine A) files that are in a server (Machine C) that is accessible after sshing to another server (Machine B) (two hops in total). I'm using ...
user avatar
  • 11
0 votes
0 answers
67 views

Why do sshfs and fuse create thousands of file descriptors (unbounded growth) for a Java process?

I'm trying to understand why I see thousands and thousands of new file descriptors such as the following in /proc/PID/fd directory of a java process: $ sudo ls -lt /proc/585/fd | head total 0 lr-x-----...
user avatar
1 vote
0 answers
131 views

rsync --append or --append-verify flags causing transfer to error on resume

Trying to do a transfer with rsync using rsync -rtlv --no-i-r --no-perms --partial --inplace --append-verify /srv/raid /mnt/backup. I use it in a script to transfer the contents of a server's RAID ...
user avatar
  • 111
0 votes
0 answers
32 views

What happens to sshfs mounted folders in `/tmp`

As the title suggests, I was wondering what happens to via sshfs mounted folders if they are mapped to a subfolder of /tmp, e.g., /tmp/data. Are they simply unmounted or is the data removed ...
user avatar
0 votes
0 answers
38 views

Setting up shared directories with NFS over SSH

I have a remote server (for work) that I only have access to via SSH (or some horrifically slow graphical remote desktop). I like working locally but want to be able to access the remote server's ...
user avatar
  • 191
1 vote
1 answer
141 views

passing bash variables to expect script or scripting expect from inside bash

This script is intended to mount the contents of my server at home as a read/writeable drive in mac os. Unfortunately due to the fact that my house has a dynamic public ip address, the ip address of ...
user avatar
0 votes
1 answer
84 views

Sharing a network drive over WAN with MacOS and Linux

I would like to share a network drive in a way that can be accessed from both MacOS and Linux, over the internet. I have a home Linux server, as well as one on AWS. The MacOS computer will be another ...
user avatar
  • 101
1 vote
0 answers
41 views

How I can use STFP share with Vifm on WINDOWS 10?

I want to mount SFTP share to my computer and use it with Vifm. I tried with sshfs-win, but it is not stable.
user avatar
  • 11
0 votes
0 answers
601 views

Get error logs from sshfs

I connect a network drive using sshfs on my ubuntu computer. Over time the drive disconnects. How can I find out, why this happens? I.e., how can I get a log from sshfs. I use Ubuntu and the following ...
user avatar
  • 101
1 vote
0 answers
294 views

Cannot sshfs to server over proxycommand on Windows

I'm trying to connect through sshfs-win to mount a drive over a jumphost. I can normally connect through ssh but when invoked over sshfs-win it fails. Also, I can normally mount the jumphost, but not ...
user avatar
  • 123
1 vote
0 answers
78 views

Offline read cache of sshfs

I have a ~1TB music library on a remote server that I would like to setup a local ~100GB cache for such that I can transparently read cached files, even offline. What is the easiest way to do this?
user avatar
0 votes
1 answer
166 views

Trying to mount remote directory using sshfs: filesystem unresponsive

I'm trying to mount a remote directory using sshfs. I've got my .ssh/config set up so that I can ssh into my user on the remote machine like so ssh wdev The remote directory in question (let's ...
user avatar
1 vote
0 answers
155 views

Error Mounting SFTP Folder using SSHFS on Ubuntu: fuse: unknown option `KexAlgorithms=diffie-hellman-group14-sha1'

On a Ubuntu 20.04 system, I have successfully mounted a SFTP folder by running sshfs -o KexAlgorithms=diffie-hellman-group14-sha1 foo@example.com:/ ~/foo However, on a Ubuntu 16.04 system, when I run ...
user avatar
0 votes
0 answers
236 views

In Windows, Meld can't save to directories mounted via SSHFS-Win. How to enable that?

I have mounted the root directory of one of my Linux boxes to a drive letter in Windows (in this case, P:), using Sshfs-Win. I have imported the directory using SSH root credentials, and therefore, in ...
user avatar
  • 1,455
0 votes
0 answers
954 views

Speeding up an incredibly slow sshfs going through login ssh tunnel

Sorry if this is answered somewhere and I have missed it. I lack some understanding in how these things work in order to safely choose the best solution. I, like many others, am working from home. I ...
user avatar
  • 101
1 vote
0 answers
273 views

Map network drive in Win10 using ssh to an intermediate remote machine

In powershell I login via ssh machineA (with password) and then ssh machineB. I am using SSHFS-Win to mount remote machineA folders (which works fine). \\sshfs\user@machineA.com\..\..\scratch\user Now ...
user avatar
  • 111
2 votes
1 answer
186 views

Use SSHFS with shared control socket

I start an SSH session with a shared control socket as follows: ssh -M -S ssh_socket -fnNTC ssh://user@host:9022 I have no problem executing commands using this socket; for example: ssh -S ssh_socket ...
user avatar
  • 1,156
1 vote
1 answer
1k views

how to prevent input/output errors when ffmpeg to sshfs mounted fs and connection is lost

I'm recording video across the network using ffmpeg to a filesystem mounted by sshfs. I'm consistently having the issue that if my machine goes to sleep, the ssh connection drops and has to reconnect ...
user avatar
  • 2,454
0 votes
1 answer
910 views

sshfs-win adds executable permission for all newly created files

I mounted remote ssh file system to my Windows using sshfs-win. But when I create files in Windows they are marked as executable in Linux. $ ls -l total 4 -rwxr-xr-x 1 user user 14 Mar 31 20:42 file....
user avatar
  • 301
-1 votes
1 answer
405 views

Fuse + sshfs and OSX - cannot delete files

Although I can create and rename files, for some reason I cannot delete files. I am mounting a UBUNTU 18 directory to OSX Catalina. I have tried all sorts of combinations and used a different user ...
user avatar
0 votes
1 answer
2k views

Permission denied when directly copying from SSHFS to SD

I have a remote hard disk mounted with sshfs on a local mountpoint. Furthermore, I have mounted an SD card to the same computer. When I try to copy from the remote disk to the SD card the permission ...
user avatar
  • 278
0 votes
1 answer
177 views

How to mount a remote directory using sshfs when the server keeps forwarding me?

maybe this question was asked before but here I go: I want to mount the user directory of my account on the server of the university I go to. Usually when I log in through ssh I just type in: ssh ...
user avatar
0 votes
0 answers
34 views

How to use sshfs to map linux server requiring double authentication?

I have problems using sshfs to map a linux server that requires double authentication. The server is accessible via ssh in two steps: 1) ssh access with user and passwd 2) sudo user2 and passwd. ...
user avatar
2 votes
1 answer
521 views

Does SSHFS store files on the local machine when loading files?

My company wants to use SSHFS to mount a directory from a secure remote server. An application on the local (client) machine needs to access files to read and edit their content (read/write). However, ...
user avatar
  • 123
1 vote
2 answers
69 views

any way to emulate permissions with sshfs?

I have a directory structure where lots of data are stored and permissions are important. I also have a rsync.net account. I am investigating the possibility to use the rsync.net storage for the ...
user avatar
0 votes
1 answer
573 views

Passwordless sshfs mount over reverse-ssh

I'm trying to mount a host directory onto a remote machine using reverse-ssh and sshfs For the most part, running the following command on the host works ssh -t -L 0.0.0.0:10000:localhost:10000 -i /...
user avatar
  • 113
1 vote
1 answer
259 views

fusermount prepends /home to path when resource is busy

Problem: I created a bash script for SSHFS mount/unmount using: 1| dir=$(mktemp -d) 2| sshfs user@server $dir 3| cd $dir 4| bash 5| fusermount -u $dir 6| rmdir $dir Once these lines are ...
user avatar
  • 277
0 votes
1 answer
812 views

Is sshfs over the internet safe?

I'd like to try sshfs for accessing my Nextcloud files on the command-line. I've used dav2fs but it's a bit slow to connect; for example, executing the command ls on a directory mounted with dav2fs ...
user avatar
  • 3
0 votes
0 answers
28 views

git makes my sshfs busy

I have sshfs running on mac and I want to unmount it, however it says that resource is busy. sudo lsof | grep /path/to/sshfs shows two git entries: one CWD entry in the root of sshfs (there is a git ...
user avatar
  • 1
1 vote
1 answer
83 views

How to make movemail work on SSHFS filesystems?

I would like to avoid setting up an IMAP server and instead use mailutils' movemail in combination with SSHFS to move over some mails from an external host to my local machine. Unfortunately it fails: ...
user avatar
  • 2,868
2 votes
0 answers
314 views

SSHFS keeps asking for a password despite ssh key present

I have a valid SSH key on my client, and my public key is uploaded on the remote server. I can login with the SSH key without being prompted for password using SSH, but when I try doing so with SSHFS ...
user avatar
0 votes
1 answer
1k views

home directories via sshfs and pam_mount

Users' home directories are on a server. They shall be mounted via sshfs on a client when a user logs in, using the password the user provided as credentials. The pam_mount system is provided for this....
user avatar
0 votes
0 answers
326 views

sftp and sshfs don't work on Ubuntu VM 18.04, while ssh and scp work fine

I have installed an Ubuntu 18.04 on an windows 7 machine. I try to map a folder from local host VM to a target hardware module that runs linux yocto. I gave the following but with no success : sshfs -...
user avatar
  • 101
0 votes
0 answers
272 views

Mounting large remote directory using SSHFS

I have a large remote directory with 600GB of content, that is split over 6 million MP3 files, without any sub directories. Will the large number of files under a single directory, cause any ...
user avatar
10 votes
6 answers
43k views

SSHFS remote directory mounting syntax

A Windows-10 64-bit PC was outfitted with: winfsp - msi download of latest release version or the Github project sshfs-win - msi download of latest release version or the Github project A remote ...
user avatar
  • 1,075
2 votes
0 answers
3k views

Native Windows 10 support for sshfs

What (if any) native Windows-10 sshfs support is available? I am aware of sshfs-win on Github.
user avatar
  • 1,075
1 vote
0 answers
634 views

Make sshfs unmount on disconnect

I have a Linux guest on my Mac host that I mount a folder from with sshfs. My workflow is that I turn on the VM in VirtualBox, connect with sshfs with sshfs max@vm:/home/max/scripts/ ~/vm/ -o ...
user avatar
  • 197
0 votes
1 answer
630 views

meld takes ages to open and fails with org.gtk.vfs.UDisks2VolumeMonitor:: Timeout was reached (g-io-error-quark, 24)

git mergetool opening meld takes ages to open and finally fails with: invoking IsSupported() failed for remote volume monitor with dbus name org.gtk.vfs.UDisks2VolumeMonitor:: Timeout was reached (g-...
user avatar
  • 2,582
0 votes
0 answers
516 views

Map X: via sshfs command from Windows 10 BASH command line

I am interested in having a remote user mapping a drive to a remote sshfs server from a BASH running on Windows 10. sshfs username@server:/home/UsersHomeFolderAtServer X: or sshfs username@server:/...
user avatar
  • 1,075
0 votes
1 answer
96 views

What is the most efficient way to migrate a website over SFTP without full SSH Access?

I need to migrate a reasonably large website to a new server for a client with the least amount of downtime as possible. Unfortunately the client's current host only allows SFTP access without full ...
user avatar
  • 101
1 vote
1 answer
1k views

Kinit with systemd in user mode

I have created a keytab file under the user home directory $HOME/client.keytab. The authentication cache file is in it's default location /tmp/krb5cc_%U (where %U is the UID). Now, I have this simple ...
user avatar
  • 145
19 votes
2 answers
22k views

Getting `sshfs` working on WSL or finding an alternative

My university's CS department has its own server used for development (from here on out, dev.univ.edu). I have SSH and SFTP access to this server, and I was hoping to do some heavy work on my Windows ...
user avatar
1 vote
0 answers
376 views

Automatically mount sshfs on login, using gnome keyring

I understand the purpose of /etc/fstab is used to mount volumes on boot. However, in my case I have an sshfs that requires an encrypted identity file. So how would I go about supplying passphrase for ...
user avatar
  • 111
0 votes
1 answer
2k views

sshfs to mount ftp folder to local folder not working

in my debian I am trying to mount a remote FTP folder to a local folder with sshfs. This is the command I use: sshfs ftp_user@ftp_ip: /mnt/myfolder The command is executed and I get the error: read:...
user avatar
  • 131