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
4
votes
4 answers

Setting umask for sshfs mount

If I mount the sshfs server with no umask, i get -rw-rw-r-- on new created files. If I try and open a php file on the server on my browser, i get this error: Incorrect file/directory permissions: Above 755. In order files to be processed by the…
masavini
  • 119
  • 1
  • 3
  • 10
4
votes
1 answer

Mount remote disk with Java via SSH

Using Java is possible to mount a remote disk via SSH? I saw that exist for Windows systems such as Dokan, win-SSH-FS or anything, but I would need to be able to map the remote disk through Java. I have already completed part of the application in…
user2263764
  • 341
  • 5
  • 21
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
  • 61,572
  • 58
  • 208
  • 243
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,940
  • 5
  • 36
  • 56
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
3
votes
1 answer

Remote mounting from wsl to win10

i have a question about mounting a folder to win10. My university is using ubuntu on their machines, but at home i'm using win10. Now i managed to install wsl2 and access my computer, via proxyjumnp, at the university. Now i want to mount a…
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 S. Farimani
  • 12,396
  • 15
  • 78
  • 193
3
votes
1 answer

How to use ssh keys for sshfs automount from mac to ubuntu

I want to be able to automount an ubuntu volume on my mac using sshfs. I tried using ssh key-gen and copying the id_rsa file, adding the pub key to my authorized keys, using all sorts of sshfs -o options, to no avail.
Joe Hanink
  • 4,767
  • 4
  • 19
  • 21
3
votes
2 answers

dumping a mysql table to CSV (stdout) and then tunneling the output to another server

I'm trying to move a database table to another server; the complication is that the machine currently running the table has little to no space left; so I'm looking for a solution that can work over the net. I have tried mysqldumping the database…
Ben Novakovic
  • 581
  • 7
  • 17
3
votes
3 answers

How to find out if sshfs mounted directory is not disconnected?

I have remotely mounted a filesystem using SSHFS to directory /mnt/sshfs. I need to find out using a shell script if this SSHFS mount is working correctly or if there is a connection reset by peer problem. If I try to access such an SSHFS…
Frodik
  • 14,986
  • 23
  • 90
  • 141
3
votes
1 answer

How to include OSXFUSE and SSHFS into my Cocoa app Distribution?

I'm creating a Cocoa Application using SSHFS but I want to make a package installer when user install, it will install OSXFuse and SSHFS to their macbook. How can I do that?
NTNT
  • 541
  • 1
  • 7
  • 18
3
votes
0 answers

Atom Package with SSHFS... fusermount: mount failed: Operation not permitted

I'm writing a Atom package which attempts to mount a remote filesystem via SSHFS and show it in a tree-view. I'm having issues with getting the mount to succeed. Specifically, as user 'wagoodman' if I type at the terminal the following: sshfs -o…
wagoodman
  • 143
  • 2
  • 7
3
votes
1 answer

How to automatically input ssh private key passphrase with pexpect

I have previously written a program for a linux env which automatically runs the SSHFS binary as a user and inputs a stored ssh private key passphrase. (the public half is already on the remote server) I had this working with simple pexpect commands…
Rboreal_Frippery
  • 2,016
  • 1
  • 19
  • 22
3
votes
1 answer

Using WebStorm (JetBrains) with SSHFS mounted development server (Mavericks, OSXFUSE)? Constantly dismounts drive

UPDATE: I saw that someone was trying to use PyCharm with SSHFS and JetBrains said: "no". Perhaps this just won't work? I'm trying to work with WebStorm on an SSHFS mounted disk at a client's office I'm working at — I've never used SSHFS before. I…
Cerulean
  • 543
  • 2
  • 7
  • 17