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
13 views

How to check sshfs mounting in ubuntu

I have done sshfs mounting from one ubuntu system to another. How can I check drive is mounted or not? looking for command line command to check drive location is mounted.
0
votes
0answers
23 views

VLC Samba SSHFS weird speeds over LAN

So I recently started hosting files over my network from the main PC, which runs Ubuntu 20.04 to other devices via Samba. On my phone everything runs fine, no problem, Samba and SSHFS. On my Macbook ...
0
votes
0answers
54 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 ...
0
votes
0answers
83 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 ...
0
votes
0answers
39 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?
0
votes
1answer
65 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 ...
0
votes
0answers
81 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 ...
0
votes
0answers
45 views

pam_mount Debian 10 Samba4 client/workstation

In the past when I was experimenting with a pam_mount configuration I thought there was better documentation around (on the "net") but that appears to not be the case. Now, that was a few ...
0
votes
0answers
59 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 ...
0
votes
0answers
10 views

cannot remove folder after using sshfs [duplicate]

I tried to create a remote filesystem folder with sshfs, it did not work and now I cant remove the folder ls returns: d????????? ? ? ? ? ? remote and when I try sudo rm -...
0
votes
0answers
379 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 ...
1
vote
0answers
148 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 ...
2
votes
1answer
102 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 ...
0
votes
0answers
6 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
1answer
597 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
443 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
248 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
991 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
1answer
93 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
26 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. ...
2
votes
1answer
230 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, ...
1
vote
2answers
42 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
322 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 /...
1
vote
1answer
189 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
425 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
22 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
74 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
222 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
610 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
255 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
162 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 ...
7
votes
6answers
28k 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 ...
1
vote
0answers
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.
0
votes
0answers
442 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
458 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
336 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
82 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
943 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 ...
16
votes
2answers
17k 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
332 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
1k 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:...
4
votes
0answers
3k 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
1k 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
629 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
67 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
3k 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
8k 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
285 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
511 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
538 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 ...