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
172
votes
13 answers

Unmount the directory which is mounted by sshfs in Mac

I've installed OSXFUSE in my mac and used sshfs to mount a remote directory. Now I would like to unmount it, but can't find the way. My OS is OSX 10.8 Mountain. Can anyone help?
waitingkuo
  • 69,398
  • 23
  • 102
  • 115
41
votes
6 answers

GIT_DISCOVERY_ACROSS_FILESYSTEM problem when working with terminal and MacFusion

I'm using MacFusion with OSXFuse(similar to MacFuse) to mount my server over SSH onto my office machine. When I cd into my rails work directory on the server, i can't see any git info in my zsh prompt. If i try a git pull origin, i get the following…
Ribena
  • 795
  • 1
  • 6
  • 15
27
votes
3 answers

Using git over sshfs is too slow

I'm using git over sshfs (under Mac OS X 10,5, 10.7) but it's too slow. Everytime I logged in remote server direcly, to use git command. I tried this post, http://kerneltrap.org/mailarchive/git/2008/10/23/3768494 however it doesn't work. Does anyone…
banyan
  • 2,881
  • 2
  • 22
  • 20
26
votes
2 answers

How to mount a folder on amazon ec2 instance with private key using sshfs

I am trying to mount a folder on my amazon ec2 instance to my desktop folder using sshfs. The problem is that I am not able to figure out how to give the option for private key (awskey.pem). Normally I ssh using ssh ec2-user@{amz-ip-address} -i…
Sanath Ballal
  • 1,290
  • 3
  • 16
  • 28
24
votes
5 answers

Why can't I setup an SSHFS share? “OSXFUSE file system is not available” error

I'm trying to setup an SSHFS share from my local machine to a remote machine, but it is not working. I'm getting the error OSXFUSE file system is not available (see below). How to fix this?? FYI, my local machine is a MacBook Pro laptop running OSX…
Saqib Ali
  • 9,138
  • 28
  • 99
  • 216
20
votes
1 answer

Ubuntu 15.10 no fuse group

I am trying to use sshfs to mount a remote file system. All the guides I can find online say I need to add myself to the fuse group but when I run sudo gpasswd -a $USER fuse I get gpasswd: group 'fuse' does not exist in /etc/group however when I…
Michael
  • 383
  • 1
  • 3
  • 9
18
votes
3 answers

Sshfs as regular user through fstab

I'd like to mount a remote directory through sshfs on my Debian machine, say at /work. So I added my user to fuse group and I run: sshfs user@remote.machine.net:/remote/dir /work and everything works fine. However it would be very nice to have the…
Sventimir
  • 1,653
  • 3
  • 13
  • 21
17
votes
2 answers

How do I specify the key file for sshfs?

I looked at the sshfs --help and there's nothing mentioning a key file. I have multiple pub/priv key pairs (for different servers) on my computer and I want to specify which key to use. How would I do this? usage: sshfs [user@]host:[dir]…
Don Rhummy
  • 20,170
  • 31
  • 134
  • 252
15
votes
1 answer

Any way to eliminate time lag with sshfs?

If I rsync a directory with some remote directory under an sshfs management, even if the rsync process finishes synching the directory contents, there seems to be a time lag for the sshfs directory to get updated. It is unintuitive and makes…
OTZ
  • 2,763
  • 4
  • 25
  • 40
12
votes
4 answers

Sublime Text 2 is sluggish during work over sshfs

I am using Sublime Text 2.0.1, and unfortunately making it work with files distributed over sshfs is a pain - switch to other tab and go back makes Sublime checking if file has not been changed. Are there any Sublime preferences or maybe sshfs mount…
bluszcz
  • 3,776
  • 4
  • 28
  • 49
11
votes
3 answers

mount remote file system using sshfs and without root permission

I am using a admin'ed machine as a regular user and would like to mount some remote filesystem through sshfs. The machine doesn't have sshfs install. Is there a way that I can install it as a regular user and mount the remote filesystem?
qkhhly
  • 1,010
  • 3
  • 10
  • 22
10
votes
1 answer

Looking for IntelliJ Remote Dev experience similar to VS Code Remote Dev Extension Pack

VS Code allows a local development experience with source code and source execution on a remote machine: https://code.visualstudio.com/docs/remote/remote-overview Is there a similar tool to this for use with IntelliJ? The VSCode extension pack…
8
votes
1 answer

IntelliJ file synchronize takes forever on SSHFS

I do all my development on a Mac, and my files are on a remote Linux server. I use SSHFS to access the files. When I am using IntelliJ on a local project, I don't even notice the file synchronization, most likely because it can access the files very…
jchitel
  • 2,601
  • 2
  • 27
  • 46
8
votes
3 answers

Mounting sshfs on unreliable connection

I mount remote filesystem with sshfs. If the ssh connection times out it can cause other applications to hang (e.g. vim session with only local file open). It takes ~10 minutes for the system to recover. This happens even if I mount the remote…
John Newman
  • 193
  • 1
  • 7
7
votes
2 answers

Docker container's sshfs mount freezes, but only when mounted by Python

I have a development laptop (Mint 19.3), and a test server (Ubuntu 18.04.4 LTS). The laptop is Docker version 19.03.5, build 633a0ea838, the server is Docker version 19.03.12, build 48a66213fe I'm running Python 3.6 code inside the container, which…
RightmireM
  • 2,035
  • 1
  • 17
  • 31
1
2 3
15 16