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

Why does dirent.h not work on sshfs drives?

Here is the code I used to test it. It works on ordinary directories, but not those mounted under sshfs. My goal is to use these methods in https://github.com/jlettvin/Greased-Grep which is designed to allow global fuzzy searches for keywords which…
jlettvin
  • 1,113
  • 7
  • 13
0
votes
0 answers

is writing to sqlite3 db-file necessary for SELECT FROM with sqlalchemy/sshfs

sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) attempt to write a readonly database [SQL: 'SELECT clima_samples.id AS clima_samples_id, clima_samples.temperature AS clima_samples_temperature, clima_samples.humidity AS…
krysopath
  • 324
  • 4
  • 9
0
votes
1 answer

dtruss with DYLD_BIND_AT_LAUNCH and sshfs mounts in OSX 10.9?

I'm trying to build the example at this gist on OSX 10.9: cd /tmp git clone https://gist.github.com/ecfd80885b9ddf6734192c056cf48bf4.git fopentest cd fopentest bash buildrun.sh The build succeeds - and furthermore, I can see the following in the…
sdaau
  • 36,975
  • 46
  • 198
  • 278
0
votes
1 answer

Mounting remote file-system or directory into local Linux machine

How to mount remote linux filesystem or directory into local linux machine. Let's say if there is a remote directory and I want to access its all content as if it is in my local hard disk.
Abhishek Dwivedi
  • 6,557
  • 3
  • 15
  • 20
0
votes
0 answers

SSHFS Mount for Docker Container / Node Server needs to access files on an external server

How do I execute a SSHFS Mount to mount a volume on a different server into my docker image / docker container ? The docker container contains a simple NodeJS web server. This web-page displays pictures. I have to get those image-files from a…
Wulthan
  • 417
  • 2
  • 6
  • 19
0
votes
1 answer

Using SSHFS on a Mac with a password-protected private key

Hey guys, I have a remote fileserver that I use to host my music/movies. I have a laptop and desktop, and wanted to share my files between the two, without the files actually being on either machine, so I employed an old dying laptop to host an SSH…
Craig Otis
  • 31,257
  • 32
  • 136
  • 234
0
votes
2 answers

Multiline bash using sed to remove leading whitespace: quotes erroneously preserved in command argument

I am running this piece of code: annotate-output $((sed -E 's/^[ ]+//;' <<____COMMAND sshfs foo_user@fooserver.com:/sftp_folder /var/sshfs.sandbox/server.com -o user=foo_user ,reconnect ,ServerAliveInterval=15 …
lucid_dreamer
  • 362
  • 4
  • 9
0
votes
1 answer

Python script very slow in a remote directory

I have trouble running my a little bit complex python program in a remote directory, mounted by SSHFS. It takes a few seconds to perform imports when executing in a remote directory and a fraction of a second in a local directory. The program should…
0
votes
1 answer

pam_mount + sshfs + port != 22

How can i configure my volume in ~/.pam_mount.conf.xml so set a different port for ssh? Currently, default (using port 22) this works:
f b
  • 115
  • 10
0
votes
0 answers

mount openwrt filesystem using sshfs

I'm trying to mount my /tmp directory on my router running OpenWrt "Chaos Calmer" in my local Ubuntu machine using sshfs. I followed https://wiki.openwrt.org/doc/howto/sshfs.server and http://bredsaal.dk/openwrt-and-sshfs But I kep getting the…
ssin
  • 25
  • 8
0
votes
0 answers

Running sshfs fusermount after unshare -r

We have sshfs installed and working so we can mount a remote directory with the command sshfs user@remotemachine:dir mount_location however if we try using this same working command after running an unshare -r we get the error: fusermount: mount…
Hamzeh Alsalhi
  • 403
  • 1
  • 4
  • 10
0
votes
1 answer

using remote filesystem in docker, best practices

I'm trying to dockerize my home multimedia setup build on OrangePI/RaspberryPi mini-servers. This question is rather about good practices, since i already have everything working without docker. Currently my architecture looks like…
0
votes
1 answer

How to provide web access to interact with a file system?

I need to be able to provide web access to interact with a file system, to upload and download files to a directory. In general people will access these files using sshfs but in a pinch we want people to have web access to these files. We want to…
caleban
  • 749
  • 1
  • 10
  • 16
0
votes
0 answers

What?!? I cannot delete symlink to directory in a mounted directory via sshfs without ls before

Hi guys! I have encountered a very strange thing today and I want to understand why it happens. I was doing it a whole day until I figured out what is happening. So I was writing a bash script to automate building via Jenkins. the script looks…
ononononon
  • 1,033
  • 4
  • 14
  • 25
0
votes
1 answer

sshfs can't access symbolic links without password

I was trying to make a directory in my computer's home (under Debian Jessie) of my distant session at school. I don't want to use any password, I would like to do "cd work" and see my distant session. So I checked the manual of sshfs which mounts an…
ShellCode
  • 1,072
  • 8
  • 17