The sshfs tag has no wiki summary.
2
votes
1answer
106 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/
...
2
votes
2answers
371 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
2answers
130 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 ...
2
votes
1answer
449 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/myprojects
$ sshfs user@myserver:/home/user/myprojects ~/mount/myprojects
I can perform ...
2
votes
1answer
174 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 ...
1
vote
2answers
256 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 ...
2
votes
1answer
376 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 ...
6
votes
2answers
603 views
autofs with sshfs not working anymore
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
164 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
188 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 ...
1
vote
2answers
493 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 ...
4
votes
1answer
225 views
Using ACL's over read only/remote filesystem
I would like to define local ACL's 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 ...
3
votes
2answers
2k 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
200 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
863 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
281 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 ...
5
votes
1answer
743 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 ...
2
votes
2answers
4k 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 ...
0
votes
1answer
326 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 ...
1
vote
0answers
118 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
5answers
421 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 ...
2
votes
0answers
222 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?
6
votes
3answers
1k 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 ...
2
votes
2answers
608 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. ...
3
votes
1answer
383 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 ...