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
2
votes
0 answers

Nosetests has problems with sshfs?

I have a django project on a host OSX machine, and i mounted this dir as a sshfs share in a virtualbox ubuntu guest. I also mapped uid and guid to my user's values (1000/1000) with -o uid and -o guid options. For some reason, nose won't discover…
thule
  • 4,034
  • 21
  • 31
2
votes
1 answer

sshfs mount point without a previously made folder

I want to use sshfs to mount folders from my server to my laptop. Ive been doing this my making a directory, for example making the dir mount under my desktop mkdir ~/Desktop/mount and then I would use sshfs to mount to that sshfs…
Cripto
  • 3,581
  • 7
  • 41
  • 65
2
votes
1 answer

Why is vim syncronous in file loading and saving?

I'm working on vim over an sshfs mounted filesystem with very high latency. Opening and saving a file takes about 9 seconds of blocking the editor. Is there a way that I can only block the tab I'm in and still work with other tabs while files are…
Paul Tarjan
  • 48,968
  • 59
  • 172
  • 213
1
vote
1 answer

MPD permission denied when using sshfs - how to change permissions?

I am trying to mount my music folder from another computer on my network using sshfs. The folder mounts correctly and I can access the files using the terminal. However, when I try to update my MPD library using ncmpcpp I get a permission denied…
semiserious
  • 610
  • 1
  • 8
  • 12
1
vote
0 answers

VSCode on SSHFS virutel disk and Git project

I'm using VS Code and a workspace on a Windows network drive via SSHFS. There's no issue here, it works without any problem. However, I've decided to version my code and finally start using Git. I've created my first repository and via SSH on my…
Thomas
  • 19
  • 2
1
vote
0 answers

How can I abbreviate the relative address using sshfs-win to map network drive?

I tried to connect Windows-10(Client) with Linux(Host). I successfully mapped network drive with SSHFS-Win(which is the only solution because of my company security), but I got quite long address. (FolderName)(\\sshfs\(user id)@(ip…
HyunjiO
  • 11
  • 1
1
vote
0 answers

Mount multiple remote directories into on linux

I'm trying to mount multiple directories from X different servers, into a single server, and im trying to do it using SSHFS. this is what im trying: sshfs root@xxx.xxx.xxx.xxx:/usr/... /home/ABC then when i try to add another one sshfs…
Slava Bugz
  • 318
  • 5
  • 17
1
vote
1 answer

How to mount remote path inside docker cotainer using kubernetes & sshfs?

I am trying to mount remote path inside docker container image using sshfs, which will going to run on kubernetes cluster. Problem The issue is there is not error & after run the server nginx does not respond. If I comment the CMD part its…
Krishna Torque
  • 623
  • 1
  • 7
  • 17
1
vote
1 answer

What's the meaning of writing to /dev/ptmx

I'm reading the source code of sshfs. And I find out that when trying to give the password to ssh, it write the password to /dev/ptmx. write(sshfs.ptyfd, sshfs.password, strlen(sshfs.password)); I know it's the master side of pseudo-terminal, but I…
hly19
  • 21
  • 4
1
vote
1 answer

Unable to write over an SSHFS mounted folder with SLURM jobs

I have the following problematic and I am not sure what is happening. I'll explain briefly. I work on a cluster with several nodes which are managed via slurm. All these nodes share the same disk memory (I think it uses NFS4). My problem is that…
jdeJuan
  • 145
  • 4
  • 13
1
vote
0 answers

Shell script for connecting network drives crashes my MacBook's internet capabilities

My work requires me to connect to several network drives over two different protocols, SMB and SSHFS. I got tired of typing in the commands to connect to them individually and being prompted for my password every time, so I wrote this…
1
vote
0 answers

sshfs works but auto mount with fstab doesn't

I would like to ask for help with the following problem. I want to mount folders on one server from two different servers with sshfs. Mounting works for both, but fstab auto mount only happens when sharing from one server, not the other. I use…
battila
  • 19
  • 2
1
vote
2 answers

VScode autocomplete not working after using sshfs to mount a directory inside the workspace

I’m using VScode to develop a Django web application on the next environment: • OS and Version: Windows 10 • VS Code Version: 1.52.2 • Python Extension Version: v2021.5.842923320 • Remote – SSH Version: v0.65.4 From my Windows laptop, I work…
Javier
  • 41
  • 8
1
vote
2 answers

Automounting sshfs with fstab, using passphrase-protected private key

I connect to my home server with ssh server, where server is configured in ~/.ssh/config as: Host server HostName {server-address} User me IdentityFile ~/.ssh/id_rsa IdentityFile is a passphrase-protected private key, so I have to enter…
murchu27
  • 527
  • 2
  • 6
  • 20
1
vote
0 answers

SSHFS mount in Dockerfile fails unless it's from ENTRYPOINT

I'm attempting to SSHFS from the container to a remote server, with the mount created during the Dockerfile build. The mount command works if executed in the already running container, and will work if I make the command the entrypoint (but then I…
RightmireM
  • 2,381
  • 2
  • 24
  • 42