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
835 views

How can I mount a remote sshfs directory of an publicly inaccessible server on my inaccessible client machine?

This is an extension of the question by @Andrei How to mount remote SSHFS via intermediate machine? Tunneling? I'm in the same situation that I want to mount a remote directory, however the ...
4
votes
1answer
1k views

UID/GID with sshfs of Linux FUSE

mkdir ~/mnt/2letter echo PASSWORD | sshfs -o password_stdin www-data@localhost:/var/www/sites/2letter ~/mnt/2letter -o sshfs_sync,cache=no,password_stdin After this: $ ls -ld ~/mnt/2letter/ ...
15
votes
2answers
13k views

SSHFS specify key

I've got a question that I've not been able to find an answer for. I have two computers, both of which run Ubuntu Linux 12.04. I have set up my first computer ("home") to be able to SSH into my second ...
5
votes
3answers
2k views

As what user is an sshfs mounted folder being accessed?

I'm trying to do a network backup of a drive. There are two machines in this process. PC1: Distant machine with 2 hards sda and sdb sdb is the drive which needs backing up two users exist, root and ...
18
votes
1answer
13k views

sshfs mount, sudo gets permission denied

I am using sshfs to mount a folder with some python projects over ssh to my ~/ directory. $ mkdir -p ~/mount/my-projects $ sshfs user@example.com:/home/user/my-projects ~/mount/my-projects I can ...
2
votes
1answer
408 views

Directory sync across SSHFS involving symlinks

I have 2 Ubuntu Linux boxes with similar directory structures, LX02 and LX04. When I ssh from a terminal on LX02 to LX04 and go to my main scripting directory, /root/sbin, I see a different set of ...
2
votes
3answers
3k views

How to automatically mount remote directories on login / startup

Everytime I boot, I use sshfs to mount remote directories. I am thinking to put these short commands in my .bashrc, but that does not seem to be The Right Way™. What is the proper way to run sshfs on ...
7
votes
1answer
4k views

Do not halt the boot if an fstab mounting fails

I have this line in my fstab: sshfs#ecarroll@o99:/opt/dealermade/ftp/inc /opt/dealermade/ftp/inc fuse defaults,idmap=user,users 0 0 For whatever reason it didn't work -- that's fine. How do I make ...
7
votes
2answers
2k views

autofs with sshfs not working anymore [closed]

I just upgraded from Ubuntu 12.04 to 12.10. Before that I backed up my autofs config which worked fine. I appended the line from my old /etc/auto.master to the new one: +dir:/etc/auto.master.d ...
6
votes
1answer
346 views

Is mkdir atomic over sshfs?

I am using mkdir as a locking mechanism, and to my knowledge mkdir is atomic, but it is not atomic over nfs. So my question is simple, is mkdir atomic over sshfs?
3
votes
2answers
698 views

Can I make a symlink point to different locations on different machines?

Before you say "no", a workaround would also be fine. Here is the situation: I have two machines local and compile, both including the same ~ over nfs from a third machine files. I would like to have ...
3
votes
2answers
2k views

creating a device image for a network location

I have a dedicated ubuntu server with hetzner.de. hetzner also provides a seperate backup space accessible via samba/ftp/sftp/scp. In their support document about backups, the following line is ...
9
votes
1answer
649 views

Using ACLs over read only/remote filesystem

I would like to define local ACLs to be used over a remotely mounted filesystem. The filesystem is mounted via autofs and sshfs FUSE. The idea is that we could setup a jailed user on a jump server ...
10
votes
2answers
12k views

Unable to use -o allow_other with sshfs (option enabled in fuse.conf)

I have the following on my /etc/fuse.conf file: # Set the maximum number of FUSE mounts allowed to non-root users. # The default is 1000. ...
4
votes
2answers
482 views

ls behaves differently under strace

I don't know how to debug this situation: 1) I try to execute: ls /home/user 2) ls blocks and does not print anything. I assume it is because /home/user contains /home/user/sshfs_files, which is ...
2
votes
1answer
2k views

Problem with pam_mount and sshfs

I'm trying to configure automounting of users home directories using pam_mount and sshfs (users are LDAP users on remote machine). I configured pam_mount: <?xml version="1.0" encoding="utf-8" ...
2
votes
3answers
405 views

Help me to replace sshfs with ssh?

I love to do just this: $ sshfs mountPoint myServer $ cp thisFile mountPoint I am now using LiveCD and I do not have sshfs utility available and I need run $ sudo dd /dev/sdb2 > mountPoint, how ...
7
votes
1answer
3k views

how to set the sftp -s subsystem option in a configuration file

The sftp command supports a subsystem option (-s) which allows the remote user to select the remote sftp-server executable, and optionally upgrade to sudo in the process like so; sftp -s ...
5
votes
5answers
13k views

sshfs always asking for password in fstab?

I'm trying to enter an sshfs mount in /etc/fstab with the following line: sshfs#oli@192.168.0.2:/media/usb0 /media/ExtHD fuse defaults,nonempty,allow_other 0 0 So that this volume is mounted at ...
1
vote
1answer
588 views

Mounting Remote Filesystem over SSH as a Different User

Due to a breach of security, the administrators of the work server have implemented a new method of security. To log into the server, we must log in as our own user (which has severely limited ...
2
votes
0answers
129 views

Can't mount remote file system with sshfs [duplicate]

Possible Duplicate: How to apply changes of newly added user groups without needing to reboot? I have posted this question in linux mint users forum about some hours ago. I'm trying to ...
2
votes
6answers
1k views

Unable to do paswordless ssh even after following standard procedure

I have two systems named Interface(10.1.1.87) and Client-Interface(10.1.1.91). I want to automatically mount an sshfs share from Client-Interface on Interface on boot. I am using the command: sshfs ...
3
votes
1answer
341 views

Looking for information on the FISH protocol

What I have found about fish:// (the kio protocol) is old and often incomplete. Is there anything that's new? Like a primer? Or is this something to put on the KDE todo list?
33
votes
4answers
12k views

What is a better way to deal with server disconnects of sshfs mounts?

I have several directories mounted through sshfs. I sometimes get disconnects from the server (not configurable by me). I usually mount the directories like this sshfs ...
3
votes
2answers
1k views

Groups ssh user is apart of don't apply on SSHFS

I am connecting to a remote server over SSH but am running into a permissions issue. My remote account is thelq and primarily part of the group thelq. I'm also part of the generic group users. ...
4
votes
1answer
479 views

Permissions issues with mounting remote server into a specific folder

I'm doing the following to mount a remote server to a specific path on my server: sshfs user@remoteserver.com:/backup/folder/ /home/myuser/server-backups/ However when I mount the server the folder ...