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
1 answer

Can I prevent Mist downloading the blockchain?

I am using Mist Browser on a laptop at IP = .12 on the local network. Elsewhere on IP = 25, I have an RPi running a node from http://parity.io/. The command is /usr/bin/parity --warp --cache 256 --public-node I noticed that the Parity client has…
Mel
  • 25
  • 4
2
votes
2 answers

Failure of rsync of multi-user directory with sshfs fuse mount

I use rsync for automatic periodic syncing of the home folder (root user) in a linux server that is used by several people. A service that users need is the possibility of mounting remote directories through sshfs. However, when there is an sshfs…
mauvilsa
  • 150
  • 1
  • 12
2
votes
1 answer

How to configure sshfs in /etc/fstab / alternatives to sshfs

On my Ubuntu 16.04 machine I can execute the following command sshfs -o sshfs_debug -p 22 myuser@myserver:/homes/user /home/user/test -C -o allow_other This will mount the remote directory /home/user on my local machine as /home/user/test. I was…
onknows
  • 6,151
  • 12
  • 65
  • 109
2
votes
2 answers

How to mount and unmount a folder with sshfs and Python Subprocess?

I want to be able to mount and then unmount a directory calling sshfs from the Python subproccess module. Here is the code I am using to accomplish this. import subprocess mkdir_command = 'mkdir {}'.format(local_data_directory) unmount_command =…
mdornfe1
  • 1,982
  • 1
  • 24
  • 42
2
votes
1 answer

Fuse in simpler terms

I am working on sshfs to mount a executable to a remote cluster. One of the steps involved in this process is modprobe fuse. While I understand the overall purpose of sshfs, I am not able to understand the part fuse has to play. I looked up on…
SKPS
  • 5,433
  • 5
  • 29
  • 63
2
votes
2 answers

Can I ssh to a server and then do sshfs on the server with paramiko?

I trying to ssh to a server and then mount a workspace with sshfs on the server using paramiko. The code I have: import sys sys.stderr = open('/dev/null') import paramiko as pm sys.stderr = sys.__stderr__ import os class…
luke wang
  • 21
  • 4
2
votes
1 answer

How to enable writing to sshfs directory in PHP

I have in my home directory a SSHFS directory mounted to a remote directory on other server. I currently run PHP under my username (not root). The problem is, I cannot verify if a folder exists on the remote machine or even write a file. When I try…
Florin Andrei
  • 287
  • 2
  • 11
2
votes
2 answers

win-sshfs disconnects after period inactivity, have to remount

I've installed win-sshfs (typical install) on my Windows 7 and when I leave for lunch and come back (around an hour), the mounted drive has been lost and it screws up my editor session. The only way to restore connection is to unmount and mount…
Dave Netz
  • 21
  • 1
  • 3
2
votes
2 answers

how to invoke sshfs within python script?

I want to mount a remote directory using sshfs. sshfs working fine from terminal. But how to invoke it from within python script? I tried something like this - but didn't work at all. import os cmd = "/usr/bin/sshfs giis@giis.co.in:/home/giis /mnt"…
webminal.org
  • 44,948
  • 37
  • 94
  • 125
2
votes
1 answer

are there any pitfalls to using lockfile over sshfs?

I have inherited a project that involves setting up a test environment (based on amazon ec2 instances). Here's the architecture: A single always-on instance contains a folder foo that contains various setup scripts; N other instances are booted on…
Vish
  • 2,144
  • 5
  • 25
  • 48
2
votes
4 answers

Why does sshfs cause these Emacs artifacts?

After opening a file in emacs (over an ssh tunneled, sshfs mounted file system) I get symbolic links like this: .#jobid.php -> ddh@localhost.localdomain.31678:1260471633 We have determined that these are emacs LOCK files. The sshfs filessystem is…
Don
  • 4,583
  • 1
  • 26
  • 33
2
votes
1 answer

autofs/sshfs not adhere to remote permissions

I have an ubuntu server "remote" with a user srichter. In my home dir on the server i have some files with different permissions like the following: srichter@remote:~> ls -l drwx------ 13 srichter srichter 4096 Jun 16 22:48 secret drwxr-xr-x …
Stephan Richter
  • 1,139
  • 11
  • 31
2
votes
0 answers

Fuse sshfs and java file Write fails

I have two VPS on a farm and I whant to connect them with sshfs, to share some directories on a java application. Source Destination ------------------------------------------- VPS1:/app/path/data --> VPS2:/app/path/data VPS 2 read…
Davide
  • 103
  • 3
  • 9
2
votes
1 answer

Opening Rails project over SSHFS crashes TextMate

I'm trying to access a Rails project which is on a friend's server. I have installed OSXFUSE, MacFUSE, and MacFusion, plus the standalone SSHFS package on my Mac OS 10.7.4 system. I wanted to use MacFusion but after TextMate crashed, I decided to…
Shinigami
  • 2,123
  • 23
  • 40
2
votes
1 answer

Detecting a remote mount

Is there a single, universal bash shell variable or common Linux command that will reliably indicate if a given directory or file is on a remote filesystem -- be it NFS, SSHFS, SMB, or any other remotely mounted filesystem? CONTEXT... This a…
DocSalvager
  • 2,156
  • 1
  • 21
  • 28