sshfs is a FUSE file system which allows to mount a directory on a remote system over SSH. It requires the SFTP subsystem being installed (default with OpenSSH server, but not included with smaller SSHd implementations like e.g. dropbear) on the remote system.

learn more… | top users | synonyms

0
votes
1answer
18 views

sshfs - transport endpoint is not connected

After reinstalling the server I can not mount it sshfs root@domain.com:/var /remote_mount fuse: bad mount point `/remote_mount': Transport endpoint is not connected update # ssh root@domain.com ...
0
votes
1answer
54 views

Mount with sshfs and write file permissions

I try to sshfs mount a remote dir, but the mounted files are not writable. I have run out of ideas or ways to debug this. Is there anything I should check on the remote server? I am on an Xubuntu ...
3
votes
1answer
67 views

Force reconnect on sshfs drive mounted via fstab

I have a remote sshfs drive that I use on a daily basis. I previously executed the following command every time I booted up my computer. sshfs -o Ciphers=arcfour -o Compression=no -o reconnect ...
0
votes
0answers
43 views

Mount a USB unit via ssh to transfer music using Amarok

I want to use Amarok to transfer my audio files to my cellphone (Android). Amarok allows transfer files using only USB drives. Then, I though in mount my cellphone using ssh or sshfs. At the moment, I ...
2
votes
1answer
29 views

sshfs remount hangs

On Fedora 21 current patches, in a local LAN environment, I'm mounting 2 filesystems with sshfs. The remote server is on a reliable LAN network, the ssh keys are correctly setup for passwordless ...
3
votes
1answer
36 views

Do a command in all open shells

I use sshfs to do useful things on my dev box. I love it. But, I usually forget to fusermount -u before I close my lid (triggering hibernate). Then, when I come back, sshfs is frozen and I have to ...
3
votes
1answer
31 views

Monitor folders mounted via SSHFS

I want to monitor changes made a folder that is mounted via SSHFS. I have tried iwatch but it does not notify when a new file is created, below is the syntax I am using with iwatch: iwatch -e create ...
4
votes
1answer
45 views

How can I get information about remote directories mounted through sshfs?

If I mount a directory from a remote server on my local machine using sshfs, how can I find out such details as: Whether any such mount is currently mounted; The user who mounted it; The remote and ...
2
votes
1answer
61 views

Detect remote sshfs mounts on local machine

I would like to get back the question of this post. When a user in a remote client mounts a directory from a local server on his filesystem through sshfs, he is not visible in the server through who ...
0
votes
0answers
20 views

Using a server to run a program that is installed on my laptop

I have a Mac laptop which I have mounted to a linux server using FUSE and sshfs. I would like to be able to run a program on the server that is only installed on my laptop's filesystem. Is this ...
3
votes
2answers
178 views

sshfs over mosh tunnel

I am using sshfs over ssh tunnel. The reason for this is because I do not have direct access to machine from which I want to mount file system. This command establishes me tunnel: ssh -o ...
0
votes
0answers
23 views

sshfs finding the password for the root user of a remote machine?

I'm currently setting my laptop and raspberry pi to have a sshfs link between the two for quick file transfer. I was able to log into the users of each machine using my password with no issue, so ...
1
vote
1answer
177 views

Using git over sshfs on OSX

Due to a new job, I'm switching from working on Ubuntu 14.04 to OSX Yosemite. I mainly work in R, and I was using RStudio and git to manage my code on a server (Debian). To this I mounted the server ...
1
vote
0answers
85 views

afuse with sshfs: where do fuse tuning options go?

I'm using afuse to mount some remote directories via sshfs. This works well, but I'm interested in exploring some options like -o kernel_cache and -o large_read. Afuse works by specifying a ...
1
vote
1answer
229 views

Remount sshfs directory - how to handle this?

There are a bunch of files in a remote directory which I want to access over sshfs and then script some operations. In practice, I wish to access different files at different times, and perform ...
1
vote
1answer
138 views

How to mount automatically sshfs when RSA authentication is not an option?

I would like to mount a file system on a remote machine automatically at each Linux startup. However I always need to use password authentication because I cannot use ssh-copy-id. How do I make this ...
1
vote
2answers
291 views

How do I use my own local text editor to modify system (requires root to save) files on a remote system?

I've recently fallen in love with github's Atom text editor, and I enjoy using it for all my local coding and configuration. I started to maintain a Nagios installation for several dozen servers and ...
2
votes
1answer
219 views

User specific fstab for fusermount

I wonder if there is something like "user specific /etc/fstab" for fusermount? ~/.fstab, ~/.config/fstab, something the like, which would work in cooperation with FUSE. I used sshfs foo.bar: ...
1
vote
0answers
57 views

files & directories are not share on remote server with 777 permission using sshfs

I am successfully mount the remote directories on my local directories, I have to created folder and files with 777 permission so others can able to access this files so that's why I used umask=000 ...
1
vote
1answer
197 views

bash script problem when run from desktop launcher

I have a script which does the following: Connect via sshfs to a directory on a server Within that directory, there is an encrypted volume. Open it to the device mapper. Mount to a local directory ...
1
vote
0answers
106 views

Home server bottleneck (filesystem server)

I am trying to set up a filesystem server, so that I can use my various laptops to transparently mount a directory containing many VirtualBox VMs, some of which run full graphics environments. I will ...
0
votes
1answer
100 views

Hop scp and sshfs using ssh tunnels

Here's what I have: A desktop and a laptop both behind a firewall, both of which can connect to an ssh capable server. Here's what I can do: Create a tunnel from server to desktop by running this ...
1
vote
1answer
4k views

How does _netdev mount option in /etc/fstab work?

I'd like to know what is the exact mechanism (implementation) used to defer mounting until after network interface is up when one uses _netdev option in /etc/fstab? Does systemd alter this behavior? ...
2
votes
0answers
249 views

Automating sshfs not working

I want to mount a remote directory and I want to automate this. So I write below script which not working properly. #!/usr/bin/expect -f spawn sshfs vedams@192.168.5.109:/home/user /mnt/remote expect ...
1
vote
1answer
2k views

How can I use arcfour encryption over sshfs?

A recent update to my Raspbian Raspberry Pi has made arcfour sshfs fail. From the client: $ sshfs pi:~ /tmp/alskdjflkasdf/ -o Ciphers=arcfour read: Connection reset by peer On the server at ...
4
votes
1answer
201 views

Meaning of fsync() in sshfs+LUKS setup

Background: I'm investigating methods for encrypted storage on untrusted machines. My current setup uses sshfs to access a LUKS-encrypted image on the remote machine, which is decrypted locally and ...
3
votes
1answer
340 views

chroot into a sshfs folder

I am trying to chroot into a sshfs-mounted directory: mkdir remoteroot sshfs remote:/ remoteroot/ sudo chroot remoteroot/ but I get chroot: cannot change root directory to remoteroot/: Permission ...
1
vote
2answers
891 views

sshfs - device not found

After updating the server with apt-get update && apt-get upgrade this command return an error command echo "the-password" | sshfs root@domain.com:/var/www /remote_mount -o password_stdin ...
4
votes
1answer
402 views

How do I share a mounted sftp drive?

My friend has a public server that he's given me read access to with SFTP. I've successully mounted it in Mint 17 with the command sshfs user-name@file-server:/location/I/want /mount/point/I/want -o ...
1
vote
2answers
259 views

When using expect: SSHFS Transport endpoint is not connected

When I run my SSHFS connection script from bash, everything works perfectly. However, when I run the same script using the expect utility, I get the following error when I try to access the folder ...
3
votes
1answer
315 views

Remount an SSHFS mount without umounting it

What is the equivalent to mount -o remount,ro in an sshfs mount? The only way I know is to do fusermount -u and then mount it again with sshfs -o ro.
5
votes
1answer
862 views

How do I use inotify or named pipes over SSHFS?

Thanks sshfs magic, I can mount my home dir from a remote server with sshfs user@server:/home/user ~/remote Optimistically, I thought I'd set a local inotify-hook on ~/remote/logFile (in the sshfs ...
1
vote
0answers
101 views

Kdevelop over SSHFS sometimes stutters last few lines on save?

Sometimes, but not always, a certain file, when saved with Kdevelop over SSHFS to a remote server, will include the last n lines of the file repeated. N is variable from save to save. The file that ...
0
votes
1answer
737 views

debian: aptitude install sshfs > Couldn't find any package whose name [closed]

Why aptitude don’t found sshfs? And how can I install sshfs via aptitude? Pleas, without 3rd-Partys. https://packages.debian.org/en/wheezy/sshfs I typed this: root@s18:~# aptitude update Hit ...
2
votes
1answer
179 views

Lazy mount of remote filesystem (with sshfs)

I have a remote computer, and I mount its filesystem with sshfs to my local folder ~/user@host, like that: sshfs user@host: ~/user@host Works nice, but I want to implement "lazy" mount: i.e. I ...
5
votes
2answers
2k views

SSHFS seems to be working, but Sublime + SSHFS doesn't?

I use the command, to mount my remote filesystem using SSHFS: $ sshfs -o uid=1000 -o gid=1000 root@10.0.1.198:/ "/home/chendy/my_mount" Everything seems to be happy, unless I try and open and save ...
11
votes
1answer
714 views

what does `sshfs -oworkaround=rename` do?

For an operating systems class I'm taking, I've needed to run Freebsd5.4. Since I didn't want to wrestle with trying to build git on a version of bsd released before git was released, I thought it ...
1
vote
1answer
151 views

Directory mounted under regular user is inaccessible from said user

I have Red Hat Enterprise Linux 6.5 and I just mounted an SSHFS directory. When I try to browse the mount as my regular user I can't browse it, but as root I can. Believing it was a problem with the ...
3
votes
1answer
177 views

sshfs LocalForward without config file

I'm trying to add portforwarding to my sshfs-mount-scripts: sshfs tim@devserver1:/ /home/tim/mnt/devserver1/ -o SSHOPT=LocalForward 127.0.0.5:3306 127.0.0.1:3306 So far I've failed using the ...
3
votes
3answers
1k views

Storing the private key password for auto-mounting SSHFS?

I connect to a server via sshfs using private/public key pairs. My local key needs a passphrase to use. NOTE: The public key has already been copied to the remote server. I'm looking for a method to ...
1
vote
0answers
250 views

sshfs and Emacs: file changed on the disk

I am using Mac 10.6.8 SSHFS version 2.4 fuse4x library version: FUSE 2.8.7 / fuse4x 0.9.2 I connect via sshfs to a remote cluster (via a bridge). I modify the remote files with emacs. The problem ...
1
vote
0answers
81 views

sshfs: experiencing data loss

I am connecting to a filesystem on a remote server via sshfs. What I do is just to modify these files with emacs. From time to time I am experiencing data loss. While I work on a file and try to ...
0
votes
1answer
295 views

git and sshfs: status is inaccurate

I am mounting a git repository on a virtual machine over sshfs onto my host machine. So far so good. However, git claims that there are many uncommitted changes when viewing the repository over sshfs. ...
3
votes
1answer
2k views

sshfs will not use ~/.ssh/config (on Linux Mint 15)

Local: Linux Mint 15 - Olivia /proc/version: Linux version 3.8.0-19-generic (buildd@allspice) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) ) ssh -V: OpenSSH_6.1p1 Debian-4, OpenSSL ...
4
votes
1answer
3k views

Connection reset by peer using sshfs

I am using a fuse/sshfs mount which worked fine so far. Now I had to reinstall the server system and suddenly getting the classic read: Connection reset by peer error. I am using public key ...
3
votes
1answer
3k views

sshfs - can't unmount the point

I mounted a folder on a remote machine using sshfs, but didn't specify -o allow_other flag thus can't access the mounted directory. When I try to mount over with -o allow_other option sshfs gives me ...
4
votes
2answers
158 views

ssh to a specific machine within a network [duplicate]

I'm frequently transferring files and operating programs via ssh, and often from home. The machine I usually work on is a desktop at work that I cannot ssh to directly unless I'm already connected to ...
3
votes
1answer
479 views

Are remote LUKS volumes mounted locally with sshfs made visible to remote users?

I created an encrypted volume with LUKS and uploaded it to a remote directory on an untrusted host. I can mount it locally though. I first mount the remote directory locally with sshfs and then open ...
2
votes
1answer
1k views

how to map users and group with sshfs

As you can see below I'm able to map the user from kevcoder00 to kevcoder01 but the group gets mapped to marigold although that group does not exists on kevcoder01 l00py@kevcoder00:~$ sshfs -o ...
3
votes
0answers
594 views

sshfs breaks symlinks from SFTP server

Does anyone know how to mount a remote SFTP path via SSHFS so that you can work with symlinks? When I do this, all the symlinks I create point to the wrong files (not the ones I linked to.) All the ...