SSH File System (sshfs). A tool that uses SSH to mount a remote filesystem on a local machine.
Questions tagged [sshfs]
160 questions
22
votes
8 answers
How to auto mount using sshfs?
I am using the following command to mount a ssh ubuntu directory to my ubuntu pc.
sshfs user@192.xx.xx.xx.xx:/dir/dir /home/username/mount/xxx
My question is, can I create a script for this in my desktop where I can make a double click and run this…

imuneer
- 435
9
votes
3 answers
sshfs - No such file or directory
I'm trying to mount a folder over ssh using sshfs. Evertime I do so I get the error
No such file or directory
My terminal:
user@computer:~$ sshfs admin@server.com:/volume1/somedir ~/mnt/somedir
admin@server.com's password:…

csauve
- 561
- 2
- 4
- 11
8
votes
3 answers
How do I specify SSH options for SSHFS?
I had originally asked this as a follow-up question here. Unfortunately, there haven't been any replies so I am posting it as its own question.
According to the documentation, you are supposed to be able to use ssh options with sshfs. How do you do…

Andrew Shum
- 509
6
votes
1 answer
Help setting up sshfs
I'm trying to sort out file sharing on my 16.04 PC and have been advised to use sshfs.
From the wiki I'm trying to follow the instructions but not getting very far.
I've installed sshfs and checked it is there but the 2nd instruction says to add…

Jon Homer
- 73
4
votes
1 answer
SSHFS very slow in 12.04
I clean-installed 12.04 after using 10.10.
When using SSHFS, everything is now very slow. (I am on very fast ethernet, and also tried on wireless).
e.g. if I:
sshfs user@XXX.YYY.ZZZ:/home/user/directory ~/Directory
cd ~/Directory
nautilus…

darin
- 41
2
votes
1 answer
Using ACLs with SSHFS
I've been working on setting up a home fileserver for my family. I use samba over the LAN and SSHFS for anyone connecting via the internet. So far samba is working perfectly and SSHFS works, but files created/copied with SSHFS have the wrong…

Chris
- 21
2
votes
1 answer
SSH filesystem (sshfs) with indirect access
Say I have ssh access to machine "foo":
me@local: ssh user1@foo
And from there i can access "bar":
user1@foo: ssh user2@bar
With this setup, is there any way I can use sshfs to mount in my local machine a directory located in "bar"?
I don't have…

Znorg
- 277
1
vote
0 answers
removing files after sshfs
l used the following command :
sshfs vincet@remote_server:/home/code /home/my_code_remote_server
After that if in my laptop l do the following :
rm -rf /home/my_code_remote_server
Am l going to remove also the directory in the remote server…

vincet
- 799
1
vote
1 answer
Unable to write to SSHFS folder
I've mounted a file system under SSHFS that I previously was using with NFS4 without issues.
user@server:/mnt/a/folder /mnt/folder fuse.sshfs defaults,default_permissions,_netdev,allow_other,uid=1000,gid=1000 0 0
and with…

user1884067
- 13
1
vote
0 answers
sshfs no write access
Possible Duplicate:
How to avoid using sudo when working in /var/www?
I am trying to use sshfs to mount an remote directory so that I can change the files like local. My problem is that i only can read the files.
what I've done:
Added my local…

Michael
- 11
1
vote
1 answer
fusermount permission denied
I have used sshfs on my Linux Mint machine to mount a directory from a different machine in the internet. This worked out of the box.
Then I tried the exact same command on a Ubuntu machine (Ubuntu 22.04.3 LTS) and got this error:
~$ sshfs -v

Simon T.
- 11
1
vote
1 answer
sshfs option idmap=file prevents mounting entirely without error message
We want to use sshfs to mount directories from a server on a client, bit some user and group ids do not match between those machines. The requirement is that user ownership is mapped correctly and the client is able to change the group of files to…

jpp1
- 1,081
0
votes
1 answer
Auto-Mount web server with SSHFS
Okay, I'm running out of ideas here. Because of the password authentication with SSHFS and because SSH keys do not seem to be supported on the web server, I am simply looking for a script I can run @reboot with the crontab.
I tried this python…

WxPilot
- 1,856
- 2
- 19
- 25
0
votes
1 answer
"Connection reset by peer" when getting sshfs to mount?
I am trying to mount a remote directory using sshfs, but I'm getting the connection reset by peer error:
Is there a solution for this?

meun5
- 163
- 1
- 1
- 8