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

Set GPIO remotely

I haven't tried this yet but I don't think I can use NFS to set /sys/class/gpio/gpio48/value remotely on a beaglebone. I think I read you could do this a different way but I would really like to write to a file on remote server and have it set…
James
  • 1
  • 2
0
votes
1 answer

How to selectively sync using sshfs?

Original question: Let's say I have a remote folder with .R, .py and .pkl files. How to avoid syncing .pkl files or how to sync .R files only? How to avoid syncing specific sub-folders? Sorry I was wrong on my understanding. sshfs is not a sync…
gruangly
  • 942
  • 8
  • 13
0
votes
2 answers

how to move files from remote server to s3 at the command line

I have a lot of big files on a remote server and I want to move them into S3. I want to do it at the command line or with a bash script (e.g., I do NOT want to use a gui app like cyberduck) so that I can automate/replicate efforts. I have tried…
ansonw
  • 1,559
  • 1
  • 16
  • 22
0
votes
1 answer

can I mount Hadoop Linux server path to another non hadoop linux server path?

can I mount Hadoop Linux server local path (NON HDFS) to another non hadoop linux server path Thanks
0
votes
0 answers

sshfs mapped folder changes group ownership from apache to wheel

Problem: When I save a php file to a development server over sshfs, the group is changed from apache to wheel. Given that the file belongs to my user and is readable by apache, this breaks the dev copy. I have to reset the group after every save.…
Rick
  • 591
  • 1
  • 9
  • 23
0
votes
1 answer

Execute SSHFS script in Cocoa OSX

I used this command in Terminal and it can mount the drive successful. Now i want to put this command in Cocoa app to mount the Drive in my Cocoa app but i dont know how to call this. Is there anyway to put this command into the script and call the…
NTNT
  • 541
  • 1
  • 7
  • 18
0
votes
0 answers

Set Up Git for SSHFS Remote Directory

I am trying to set up an infrastructure where a server folder is mapped into a local directory using SSHFS. This local directory, then, serves as the project folder for Eclipse/Aptana. I would like to be able to work on this project and then push…
ArtforLife
  • 359
  • 1
  • 5
  • 16
0
votes
2 answers

How can I mount a folder from an ubuntu virtual machine on ubuntu?

I tried sshfs, but the local directory where I want to mount a folder from the VM does not open after running the command.
Kumar Deepak
  • 473
  • 4
  • 18
0
votes
1 answer

SSHFS MacOs Read Only Issue

I've mounted an EC2 instance to my Mac using SSHFS and FUSE. The command I'm using to mount is: sshfs ec2-user@IP_ADDRESS:/ ~/ec2Server/ It works fine, and I get the FUSE drive and I can see all the files. However, it's read only. How can I give…
mickzer
  • 5,958
  • 5
  • 34
  • 57
0
votes
1 answer

Python slow after mounting with sshfs

I have found that my python starts up very slow after I mount an external drive using sshfs. When I unmount the drive again the the python startup is fast. I make no mention of the mounted drive in my .bashrc or .pythonrc. Why is the python startup…
acbowz
  • 21
  • 2
0
votes
1 answer

Remote web server pages do not update after making changes via SSHFS

I've been troubleshooting this for a while now and can't seem to find a solution. I have a remote LAMP server in my office and sometimes need to work from home. I use a SSHFS between my home computer and work to accomplish this. However, I have run…
Binbash
  • 17
  • 1
  • 5
0
votes
0 answers

Applescript to mount remote file system through sshfs with password authentification

I am using sshfs (with OSXFUSE) to mount a remote file system on a local directory. In the terminal it looks like sshfs username@myremoteserver.com: /path/to/local/directory Then it asks for my password and done. How can I include this in an…
fffred
  • 596
  • 4
  • 19
0
votes
2 answers

Smart local copy of a remote directory

Currently I have a bunch of local copies of dev/production websites. Each copy contains the "files" directory, which contains files uploaded by site users. Currently I use rsync to synchronize the directories contents from remote servers (via…
Leksat
  • 2,923
  • 1
  • 27
  • 26
0
votes
0 answers

Running script from terminal works, but does not work when invoked from Mac app

I have a script file with the following code: if [ ! -d ~/Remote/username/projects ] then sshfs -C -p 22 user@remotecomputer.com:/home/username ~/Remote/username fi and when I run it from the terminal, it works, however when I…
codenamepenryn
  • 451
  • 1
  • 7
  • 18
0
votes
1 answer

Command works in shell but not Objective-C or C

I want to run the following shell command in Objective-C sshfs -C -p 22 user@remote.computer.com ~/local/directory/path using the command system("sshfs -C -p 22 user@remote.computer.com ~/local/directory/path"); but I get sh: sshfs: command not…
codenamepenryn
  • 451
  • 1
  • 7
  • 18