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.

232 questions
5
votes
1 answer

Using zsh's compdef or compctl to complete a certain directory with _hosts for all commands

I use afuse to automount other hosts to my local file system with sshfs. Like so: afuse -o timeout=30 -o mount_template=sshfs -C %r:/ %m -o unmount_template=fusermount -u -z %m ~/remote/ This works great, but I would like to be able to…
Gurgeh
  • 2,020
  • 15
  • 25
4
votes
2 answers

Sshfs, Textmate & Rails project, very slow

I am a Linux user and I recently bought a MAC. I work on a big project that needs to run on a dedicated server. With Gedit and SSHFS, I had no problem to load the Rails project, same when I create a new controller/model from the command line,…
tree
  • 75
  • 7
4
votes
2 answers

bash check if user mount fails

I'm writing a script to transfer some files over sftp. I wanted do the transfer as a local transfer by mounting the directory with sshfs because it makes creating the required directory structure much easier. The problem I'm having is I'm unsure…
Stephan
  • 5,280
  • 2
  • 21
  • 31
4
votes
2 answers

Docker mounting remote volume with sshfs

I know that this question has been done on the web, but I am not able to find a suitable solution for me. I have one server (VM1) with sshfs installed that should provide remote file system storage. I have another server (VM2) where containers are…
4
votes
1 answer

Can't write to a file with sshfs

I'm trying to mount a directory from a remote machine to my laptop. Here is the command. sshfs user01:/home/user01/somedir /home/user02/mount -o allow_other -o rw When I try to write a file, I get: E212: Can't open file for writing Here are the…
BioRod
  • 507
  • 1
  • 4
  • 16
4
votes
1 answer

docker vieux/sshfs permission denied

I use vieux/sshfs to create a volume docker plugin install --grant-all-permissions vieux/sshfs docker volume create -d vieux/sshfs -o sshcmd=usfo@192.168.1.1:/swarm-study/web/data -o password='123' sshvolume I create a user on container…
USFO
  • 61
  • 5
4
votes
1 answer

Permanent mount volume via sshfs Sierra

I am trying to permanently mount a volume via sshfs on mac. I have tried to follow the instructions in how-to-get-automount-and-sshfs-osxfuse-working-with-yosemite (Although I have Sierra, I couldn't find instructions for it so I thought to give it…
Bob
  • 49
  • 2
4
votes
1 answer

Mounting SSHFS for local folder on Mac OS X to edit files on Ubuntu AWS instance

I want to be able to edit files locally using a nice IDE and have the files on my local machine (~/Code/myproject) get immediately pushed to the Ubuntu machine in the cloud (/home/ubuntu/myproject). I installed FUSE and SSHFS for my Mac OS X…
lollercoaster
  • 13,421
  • 28
  • 94
  • 162
4
votes
2 answers

Mounting a remote file system (sshfs) through an intermediate machine

The situation: I am working from machine1, where I have root access. From machine1 I can access machine2 (where I am a user with no privileges) through ssh. machine3 (also user with no privileges) is not directly accessible from machine1. I need to…
Miguel
  • 7,027
  • 1
  • 21
  • 40
4
votes
2 answers

brew install sshfs

I'm trying to install sshfs using homebrew. Any ideas on how to troubleshoot? ~/Desktop> brew install sshfs ==> Installing sshfs dependency: fuse4x ==> Downloading https://github.com/fuse4x/fuse/tarball/fuse4x_0_9_1 Already downloaded:…
Rose Perrone
  • 55,475
  • 49
  • 196
  • 231
4
votes
2 answers

How to put a folder tree in cache over sshfs

I want to work from home via SSH. I run Ubuntu. I have installed sshfs and mounted my files locally. However, working on local files is too slow, as sshfs fetches files each time it wants to read it. How can I put everything into cache ?
Raphael Jolivet
  • 3,714
  • 2
  • 31
  • 52
4
votes
0 answers

transmit vs macfusion (osx), a remote drive using Git

I am a developer and I needed to create a remote drive. At first time it was not problem because I would use Panic Transmit to mount the drive with SSH connection. And I could open, edit and save any file normally. But this project is using Git…
fdias
  • 87
  • 5
4
votes
1 answer

will sshfs use my .ssh/config?

I have some options in my ~/.ssh/config: Host * Ciphers arcfour,blowfish-cbc These options are intended to speed up transfers. Will sshfs use these options when I do a mount?
nbecker
  • 1,382
  • 3
  • 14
  • 21
3
votes
0 answers

How to disable the auto-reconnect feature with sshfs?

I am using sshfs to have a file system mounted on my Mac. Every time my internet connection drops, it gets disconnected, and then tries to reconnect again periodically once the internet connection is back up. The problem is that I need to enter an…
Don
  • 41
  • 4
3
votes
2 answers

SSHFS mounting remote ssh server causes Segmentation fault: 11 on mac OS

I'm trying to follow this tutorial mounting a SSH server on macOS. I installed with brew install cask osxfuse and SSHFS with brew install sshfs but when I try to mount the remote folder to a local folder with sshfs foo@bar:/remote/folder…
Foad
  • 7,892
  • 8
  • 38
  • 126
1 2
3
15 16