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
0answers
5 views

Is there a way to mount a folder from a host specified in $HOME\.ssh\config and using pubkey auth?

Does Windows (10; either through PowerShell or somehow via WSL[2]) have a way whereby a folder sitting on a host specified in $HOME\.ssh\config, and using Public Key Authentication, can be mounted in ...
0
votes
0answers
7 views

pylint extremely slow in sshfs partition

pylint is taking a huge amount of time to lint my *.py files that are stored in a remote partition, which is mounted via SSHFS. If I make a local copy of the files and run pylint on those local copies,...
0
votes
0answers
6 views

How to eliminate Long Wait on single directory node listing — sshfs mount

I have a directory tree mounted this is s.l.o.w. ls -l /mnt/COOLIBAH/work/proj/r09.0.0/ When I say slow, very slow. I have time to make coffee! These listings on the Same Tree are speedy quick: ...
0
votes
1answer
74 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 ...
0
votes
1answer
54 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....
-1
votes
1answer
37 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 ...
0
votes
1answer
86 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 ...
0
votes
0answers
7 views

How do I know if something is skipped by `updatedb`?

The --debug-pruning output is unclear I don't see my directory in the "Skipped" but I don't see it in the "Checking if is excluded" too The filesystem is not in PRUNEFS, the directory is not in ...
0
votes
1answer
48 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 ...
0
votes
0answers
21 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. ...
1
vote
1answer
28 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, ...
0
votes
1answer
19 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 ...
0
votes
1answer
108 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 /...
0
votes
0answers
32 views

Mounting from Windows to Linux (not with VM but via ssh (GIT))

So.... I have a folder called "workspace" in Windows (C:..\Desktop\workspace") I have connected to server ( not via VMware but with GIT bash, using ssh ) which has a dockerized project ( it's linux )...
1
vote
1answer
106 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 ...
0
votes
1answer
167 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 ...
0
votes
0answers
19 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 ...
1
vote
1answer
60 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: ...
2
votes
0answers
126 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 ...
0
votes
1answer
296 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....
0
votes
0answers
201 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 -...
0
votes
0answers
139 views

SSHFS to Windows10 server, from CentOS client

Setup: Windows2019 server with a folder full of files. CentOS7 VPS, which does not support SMB, NFS etc (blocked by VPS hosting provider). The hosting provider recommended I use SSHFS to connect my ...
0
votes
0answers
76 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 ...
2
votes
5answers
11k views

SSHFS remote directory mounting syntax

A Windows-10 64-bit PC was outfitted with: winfsp-1.4.19049.msi sshfs-win-2.7.17334-x64.msi on Github: SSHFS-Win Github: => A remote linux directory (mydirectory) is to be mounted to S:. The ...
1
vote
0answers
957 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.
0
votes
0answers
342 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 ...
0
votes
1answer
261 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-...
0
votes
0answers
199 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:/...
0
votes
1answer
59 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 ...
1
vote
1answer
637 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 ...
13
votes
2answers
12k 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 ...
1
vote
0answers
306 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 ...
0
votes
1answer
795 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:...
3
votes
0answers
2k views

Reverse sshfs over ssh

I want to mount dir on remote machine from host machine connected over ssh preferably via ssh tunnel; with method described below. how to mount local directory to remote like sshfs? But if get peer ...
0
votes
2answers
825 views

How to mount local directory to remote hosts?

I'm doing some experiments with some computers I have, I have the following scenario local network host1 [ubuntu] vps [internet] host2 [CentOS] I have an external hard disk connected to the ...
0
votes
0answers
626 views

How to share a Linux directory as a folder in Windows?

Maybe it seems that the best way is using samba. But it's not ideal. Access to some files or directories will not be possible unless changing the file or directory's owner or mode. For example, one ...
1
vote
2answers
61 views

Network filesystem client moving between networks

At home, I have a network drive and devices that mount it from a local IPv4 address. Away, my laptop mounts that same drive with sshfs and a DNS-resolvable hostname. Moving the laptop from network to ...
1
vote
1answer
2k views

SSHFS mounting with FSTAB during boot (Linux / Debian)

Is there anyone out there who can help me try to "translate" this SSHFS command to a proper fstab-line? I already tried once and messed up with whole FSTAB and boot. sshfs user@remoteserver.com:/...
4
votes
3answers
7k views

How to use sshfs on cygwin

How to use sshfs on cygwin? Direct way does not work: $ apt-cyg install sshfs Installing sshfs Unable to locate package sshfs
0
votes
0answers
237 views

Why can I cd into non-executable directories mounted with sshfs?

I noticed that I can cd into non-executable directories that are mounted with sshfs. First, I created directories with all eight possible modes: $ pwd /mnt/remote $ for i in {0..7}; do mkdir test_$i;...
0
votes
1answer
448 views

Mount a directory of another server on boot automaticaly

I have two Centos 7 servers and I mounted a directory from the 2nd server on the 1st one by SSHFS. And it works fine. but when I reboot the 1st server I need to mount the directory manually. What ...
0
votes
0answers
499 views

SSHFS file permissions issue

I am looking for the right way of allowing multiple users to mount a remote folder on my Ubuntu server to our Macs so we can edit the remote files. The files in the remote Ubuntu server are all owned ...
1
vote
1answer
489 views

SSHFS over VPN freezes on large chunk

I'm running SSHFS over a VPN connection. When trying to send a chunk of 1270 bytes into a file on this remote file system: head -c 1270 /dev/urandom > /path/into/the/sshfs/foo the whole file ...
0
votes
1answer
61 views

Mounting a different SSHFS automatically depending on location

Basically, we have a local server and a remote server. The remote server is for out-of-the-office. It's easy to easily have it mount a folder over SSH to the remote server. However, when in the ...
1
vote
0answers
38 views

Will searching a text with grep results in copying files in SSHFS

I have linked a remote directory using SSHFS and now if i search some text within there files will SSHFS copy files to my local space..I know when we try to see the content of the files in SSHFS it ...
1
vote
2answers
2k views

nginx doesn't read mounted /usr/share/nginx/html

Goal: I am using an NGINX container in which I mount a remote SSHFS filesystem into /usr/share/nginx/html, the purpose is to use each time a new stateless nginx container but with the same ...
2
votes
0answers
915 views

Synology - mount a directory via sshfs with user/group mapping

I have been experimenting with sshfs with the intent to access a directory on a Synology box and mount it via Terminal. To this end, I am using version of SSHFS as provided by the FUSE for macOS ...
3
votes
0answers
212 views

I need to run a shell command after connecting with SSHFS

I'm connecting to a remote server using SSH. Unfortunately, a connection with Nautilus or Konqueror over SCP did not work (although it perfectly works fine over SSH). I am not using SSHFS which works ...
2
votes
2answers
709 views

OSXFuse mounted directory ownership error with automount SSHFS

I am running on macOS Sierra and I am trying to configure auto-mount of external server's directory via SSHFS and osxfuse. However, every time the disk is being mounted, it is owned by root and normal ...
1
vote
0answers
419 views

Unison sync of sshfs mount - what can go wrong if the connection breaks?

I have a cloud storage server that I would like to sync with multiple computers. I have access via rsync, SFTP, or WebDAV, but no shell access. So I can't run Unison on the server. My first solution ...