Questions tagged [sshfs]

SSHFS (Secure Shell File System) is a file system client to mount and interact with directories and files located on a remote server or workstation. The client interacts with the remote file system via the SSH File Transfer Protocol (SFTP), a network protocol providing file access, file transfer, and file management functionality over any reliable data stream that was designed as an extension of the Secure Shell protocol (SSH) version 2.0.

SSHFS (Secure Shell File System) is a file system for Linux (and other operating systems with a FUSE implementation, such as Mac OS X or FreeBSD) capable of operating on files on a remote computer using just a secure shell login on the remote computer. On the local computer where the SSHFS is mounted, the implementation makes use of the FUSE (Filesystem in Userspace) kernel module. The practical effect of this is that the end user can seamlessly interact with remote files being securely served over SSH just as if they were local files on his/her computer. On the remote computer the SFTP subsystem of SSH is used.

Windows implementations, such as win-sshfs, are often built around Dokan, a user mode file system for windows.

258 questions
1
vote
1 answer

Multiple users mounting a shared server utilizing Git

I am wondering if this type of setup would be good for Git. We have a server that contains source code, when we make code changes it must also be tested on this server. To avoid pulling the code locally making changes, syncing back up to the server…
1
vote
1 answer

Why SpringBoot app cannot access to remote files (sshfs) unless a user is connected to the server?

This question involves a raspberry pi 4 connected via Wifi to the internet, and running a SpringBoot app that generates a file tree with special values upon user request. The SpringBoot App needs compute the parent path of some files located on the…
HelloWorld
  • 2,275
  • 18
  • 29
1
vote
0 answers

How to bind volumes that were sshfs'd with the right permissions?

I use my laptop to connect to a remote Ubunto (18.04) machine (let's call it A). I sshfs'd a directory from another machine (=B) to A. Now, I try to run a docker container on A, and bind the volume that I sshfs'd. When I try to perform some…
yonatansc97
  • 584
  • 6
  • 16
1
vote
1 answer

Auto-mounting of remote folder with SSHFS without giving shell access?

I have built two VMs inside Proxmox, let's call them A and B, and both of them are running ubuntu 20.04. For A, it has a 2 TB SSD passed to it which it mounts on boot. I would like system B to mount a folder in A (located at /mnt/SSD/folderB)…
Sandbo
  • 79
  • 11
1
vote
1 answer

sshfs: will a mount overwrite existing files? Can I tell it to exclude a certain subfolder?

I'm running Ubuntu and have a remote CentOS system which stores (and has access to) various files and network locations. I have SSH access to the CentOS machine and want to be able to work locally on Ubuntu. I'm trying to mirror a remote directory…
jkang
  • 483
  • 7
  • 19
1
vote
1 answer

sshfs - Directories and files not visible after mounting a file system in ubuntu

I have a very strange situation where all the sub-directories and files of a mounted directory have become invisible from the file manager. I have looked here and here, but could not resolve the issue. Following is the file structure. GPU server…
Achintha Ihalage
  • 2,310
  • 4
  • 20
  • 33
1
vote
1 answer

sshfs fails when remote:dir and (local)dir are the same

I want to mount: remote:/media/user/directory into: /media/user/directory But the mount fails when the remote and local dir names are identical. Issuing the mount command reflects this. Yet if I use ANY other variation of the same target dir name…
BETLOG
  • 13
  • 4
1
vote
0 answers

SSH Passphrase Dialog Drops to Terminal Passphrase Entry when Canceled

We're using sshfs to mount a remote directory for a UI program. To kick things off, we launch a system process to set up the mount using sshfs terminal commands. This works well: a dialog pops up asking the user for their passphrase, the mount is…
SixDegrees
  • 781
  • 1
  • 8
  • 19
1
vote
1 answer

docker container connect volume to remote server with ssh keys

I have been working with Docker recently and I am new to docker and I have managed to setup containers for nginx/php and mysql. I have assets of the website which are on a seperate server and I have connected to the same using sshfs and i am able…
bodi87
  • 501
  • 1
  • 6
  • 18
1
vote
2 answers

Setcap over SSHFS

I am running a VM on my machine and have mounted a host folder inside VM using sshfs (auto-mounted via fstab). abc@xyz:/home/machine/test on /home/vm/test type fuse.sshfs (rw,relatime,user_id=0,group_id=0,allow_other) That folder has an executable…
1
vote
0 answers

How to fix "value too large for defined data type" error when mounting volume to docker container

I'm facing this error when i trying to mount a volume to docker container. /propagated-mount/fc609e7d6bb8f0358671ea0f90af5be7: value too large for defined data type\\\"\"": unknown. Note that i configured swarm stack already and the volume driver…
1
vote
2 answers

Docker leaving zombie processes (vieux/sshfs)

I have a swarm of few services, and in the compose file there are few volumes created with the vieux/sshfs driver, which are used by the services. The containers spawned by the services execute a single script, after which the container…
lsd
  • 504
  • 1
  • 4
  • 16
1
vote
1 answer

Running eclipse with remote Git checkout repository

On my windows laptop, I use putty to ssh on the remote server where I have git checkout a C project. I would like to use eclipse(CDT) for program development on my laptop but compilation and program execution is only possible on the remote server.…
Amit Ruhela
  • 311
  • 2
  • 8
1
vote
0 answers

Sharing docker containers sshfs mount with windows host via volum mount

I'm running docker on windows host. I have a centos container running with folder mount -v c:/dockershared_folder:/mnt/shared. Everything I create in my /mnt/shared will appear nicely in my windows host but when I mount sshfs to…
DonRico
  • 182
  • 12
1
vote
1 answer

Running code remotely from local text editor

Currently on my local machine I mount a copy of my remote folders using sshfs and oxfuse. This allows me to edit my remote scripts in a local copy of atom. However for running sections of code I currently copy the code, and paste it into an ipython…
RobMcC
  • 392
  • 2
  • 7
  • 20