Questions tagged [sshfs]
SSH File System (sshfs). A tool that uses SSH to mount a remote filesystem on a local machine.
160
questions
0
votes
0
answers
106
views
How to connect storage to web server with sshfs?
I started to installed a vmware web server. The server first was in the local lan. (192.168.137.200) At this time I could attach (mount) a sshfs folder to the server from the host machine (192.168.137....
1
vote
0
answers
710
views
SSHFS not connecting at login using .profile - connection reset by peer
I'm trying to create an sshfs connection when I login, so I have added a call to a script within the ~/.profile which runs the sshfs command.
Here's the script that is called:
!/bin/bash
sshfs ...
3
votes
0
answers
1k
views
Automounting sshfs-share via fstab
I am automounting a share for a user in fstab like so:
[email protected]:/home/user/ /home/user/Server/ fuse auto,user,_netdev,reconnect,uid=1000,gid=1000,IdentityFile=/home/user/.ssh/id_rsa,idmap=...
3
votes
1
answer
2k
views
Unmount SSHFS from Nautilus (with umount)
I can mount an SSHFS like this:
sshfs -o idmap=user SSH_HOSTNAME:/ ~/mountpoint
Now it's nicely displayed in Nautilus like a removable device with an eject button. On clicking that button though, I ...
1
vote
0
answers
1k
views
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 ...
0
votes
0
answers
376
views
Unable to mount sftp drive using sshfs - could not open builtin file
I'm trying to mount sftp drives to my box (Ubuntu trusty - yes I know its old) however I'm getting an issue whenever I try
Output from sshfs command fuse:
device not found, try 'modprobe fuse' ...
8
votes
3
answers
29k
views
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 ...
1
vote
0
answers
2k
views
Using SSHFS to Mount Remote File Systems Over SSH, but no write permissions on mounted files
I am using SSHFS to mount some files from a debian machine to my laptop which runs ubuntu 16.
sudo sshfs -o allow_other,port=2222,default_permissions,nonempty,IdentityFile=home/alex/.ssh/id_rsa alex@...
1
vote
0
answers
308
views
Mounting a webcam from one computer to another over local network
So I have this python application on my laptop that needs to use the webcam, or more precisely the /dev/video0 folder.
Now this application needs to use the GPU, and my laptop is not powerful enough, ...
0
votes
1
answer
556
views
access sshfs directory with gui
I mounted a remote directory on my computer and it seems fine - I can cd to it or open an editor from the terminal and see all the files etc. But when it try to access it from the gui menu access is ...
5
votes
2
answers
2k
views
Cannot mount anything in a particular local directory using sshfs
I use sshfs to mount a remote directory locally. I use Xubuntu 16.04 inside a VirtualBox virtual machine. Yesterday, while everything was mounted, I saved the state of the virtual machine and closed ...
3
votes
0
answers
2k
views
use systemd to mount sshfs
I am running Ubuntu Core on my Raspberry Pi and I would like to map a drive connected to a local server.
On other devices I use the sshfs to map this drive locally and it works.
However on Ubuntu ...
3
votes
0
answers
539
views
Cannot read file on filesystem mounted through fstab sshfs
I am trying to ensure that certain files in a mounted filesystem are readable to at least one non-root user. However, at the moment, even root user is not able to read these files. Here is my ...
0
votes
0
answers
798
views
sshfs with config entry and/or ProxyCommand?
I have been playing with the ProxyCommand in my config files on any devices I take away from home so that I don't have to open ports through my new DD-WRT NAT to connect to machines behind the ...
11
votes
1
answer
16k
views
How do I mount my Android's filesystem over the network with sshfs?
How do I mount my Android device over the wireless network with sshfs so I can access its files trough my file explorer or terminal?
1
vote
1
answer
1k
views
How to directly edit my Ubuntu server files from my desktop Ubuntu [closed]
I am accessing my server (Ubuntu based) from my local Ubuntu using terminal. I would like to open files on the server using my local application (for example, Sublime editor). Could anyone help me in ...
6
votes
1
answer
6k
views
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 ...
1
vote
1
answer
111
views
Bashing Script within a Script
I wrote a little script which allows me to connect two a couple of servers via SSHFS. The script sets the variables or puts in defaults if nothing is entered i.e. SSH port 22.
I want to create a ...
0
votes
1
answer
265
views
Starting a bash script after gnome-keyring-daemon but before gnome-encfs?
I need to mount an sshfs after gnome-keyring-daemon becomes available (i.e. not in my .profile & presumably after /etc/xdg/autostart/gnome-keyring-ssh.desktop has completed (however I have a doubt ...
2
votes
2
answers
1k
views
How to overcome SSHFS error "Software caused connection abort" during copying files
I'm experiencing same problem on two different computers, running Ubuntu 14.04 LTS. I am copying from server (also 14.04) over SSHFS large amount of data and files (few gigabytes). One computer is ...
3
votes
1
answer
893
views
Secure way to use GUI to ask for network password when using sshfs?
I have a folder which is stored on a remote server and which is mounted locally using sshfs. Obviously, this requires a password to log on to the server. I would like to get a gui to prompt me for ...
1
vote
1
answer
6k
views
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=...
4
votes
3
answers
18k
views
"fuse: bad mount point No such file or directory" but the file exists
My system is 32-bit so this answer doesn't help me.
I am trying to use sshfs to no avail:
$ sshfs -o IdentityFile=/home/aventinus/.ssh/id_rsa [name]@X.X.X.X:/data/[folder name]/[folder name]/ /...
2
votes
0
answers
133
views
mount drives at boot failed
For mounting sshfs I have a shell script:
#!/bin/bash
sshfs -o allow_other user@ip-address:/remote/path /local path
If I run the script after I boot up the server, it will mount, but it won't mount ...
0
votes
0
answers
29
views
Ubuntu doesn't run the program which is added to the startup
I have to re-login to make it works, and do it every time I turn on my computer.
This is the command which I have added to the startup.
15
votes
2
answers
12k
views
How to prevent SSHFS mount freeze after changing connection after suspend?
I am using SSHFS with reconnect attribute. It works fine, when I suspend notebook and start it again. But problem is when I take notebook somewhere - meaning different IP and different connection (...
36
votes
2
answers
25k
views
fuse: unknown option `defer_permissions'
The following error is given when trying to connect to a remote host using sshfs on Ubuntu (16.04 LTS):
fuse: unknown option `defer_permissions'
after using the command:
sshfs -o allow_other,...
17
votes
6
answers
46k
views
sshfs giving "remote host has disconnected"
I am trying to mount an sftp connection into a folder using sshfs with the following command which throws an error.
~$ sshfs [email protected]:/ testfo
remote host has disconnected
The same error ...
1
vote
1
answer
547
views
16.04 Quicklists SSHFS Mount Problem
I have a launcher that looks like this...
[Desktop Entry]
Name=Mount Options
Comment=Mount Utility (Unmount by Default)
Exec=sh -c "sudo umount /media/*"
Icon=/usr/share/icons/nouveGnomeGray/48x48/...
0
votes
1
answer
969
views
How to mount directory from vagrant box on local FS using SSHFS?
I want to mount the / of the vagrant box on to the local fs using sshfs.
the command i used was
sshfs [email protected]:/ .
The authenticity of host '192.168.0.106 (192.168.0.106)' can't be ...
29
votes
1
answer
36k
views
SSHFS - auto reconnect
I have an SSHFS mount that I can connect using the command line:
echo myPassword | sudo sshfs [email protected]:/ /media/NAS -p31337 -o workaround=rename -o password_stdin -o allow_other
which seems ...
6
votes
2
answers
2k
views
Use sshfs with ssh-agent and/or kwallet
I am using sshfs with a password protected key pair to mount a remote folder using a shell script. I am also using ssh in that script.
Every time I start the shell script I get a password request on ...
1
vote
0
answers
160
views
Mount an ssh file system automatically after network connection has been established and after login
I use the following command to mount a file system over ssh:
sshfs mother:/netvol /netvol
This uses a public/private key pair for authentication, one that resides within my home directory. As such, ...
1
vote
0
answers
756
views
How to use mv to move a file between two partitions
I have two partitions of an external drive mounted on computer A. A's "media" folder is then mounted using sshfs on computer B. On B I can move files between the two partitions in the file manager. I ...
3
votes
2
answers
21k
views
How to resolve "/bin/sh: 1: sshfs: not found" when trying to mount remote drive?
I'm trying to mount a remote drive on a server that I have SSH access to using fuse/sshfs
I created a mount point at /mnt/review/server and created the following entry in my fstab, as per ArchWiki:
...
4
votes
1
answer
2k
views
How can I ensure that my sshfs mounted drives stay connected as much as possible?
I have been trying to get this to work forever and ever and it's just past my ability now. I have read just about everything I can on this...and yet I can't resolve the issue. Here's the short story. ...
1
vote
1
answer
2k
views
automatically unmount sshfs network drives before VPN disconnects on suspend
Reasonably new linux user here. For my work, I regularly mount two network drives via sshfs in Xubuntu 15.05. Now I've written a little bash script to mount/unmount both drives & create a symlink ...
1
vote
1
answer
606
views
Can I use fstab to mount ssh without pub keys and without entering a password?
I regularly have to mount a path via ssh from a server I don't have root access to. Pub key authentication is disabled and I cannot enable it and they won't enable it. Pub key authentication is no ...
1
vote
1
answer
1k
views
SSHFS - File time not updating
I have an apache webserver that has the code mounted through SSHFS. When I make a change to a file on the remote computer, the webserver does not show the change. If I interact with the file in any ...
0
votes
1
answer
534
views
Problem mounting ssfsh with fstab
So, I'm trying to mount a local network folder through sshfs. The following is in my fstab:
[email protected]:/home/jackie/.kodi/ /home/jackie/KBox/ fuse.sshfs delay_connect,_netdev,user,idmap=user,...
1
vote
1
answer
714
views
Limiting curlftpfs/sshfs overhead in Nautilus, or any other file manager
I've automounted four FTP directories with curlftpfs and two SFTP directories with sshfs in my /etc/fstab on Ubuntu Desktop 14.04.
When I open the /mnt folder in which all directories are mounted, ...
2
votes
1
answer
2k
views
SSHFS to make remote external drive visible in Nautilus?
Host is running OpenSSH server at 192.168.1.23 and contains three drives:
/dev/sda (Ubuntu OS running server) with /home/<username>
/dev/sdb as a fixed drive with music, and
/dev/sdc as an ...
2
votes
1
answer
907
views
Kill SSHFS at shutdown? (systemd / upstart)
Apparently having an SSHFS mountpoint active while trying to restart or shutdown Ubuntu can cause the system to hang. I would really like to avoid having to possibly power cycle, due to using an md ...
0
votes
1
answer
361
views
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 @...
3
votes
1
answer
5k
views
sshfs You do not have the permissions necessary to view the contents of mounted directory
Hello I am pretty new to using sshfs and I can view my mounted directory when I use root under the terminal. I do this by using
sudo -i
Then I can navigate to my mounted directory and view my ...
1
vote
2
answers
3k
views
How can I view all the folders currently mounted through sshfs?
I mounted several folders through sshfs and I lost track of them. Can anyone guide me how do I list all the folders that are currently mounted using sshfs?
7
votes
3
answers
21k
views
Auto mount sshfs volume through fstab with password auth
I have a headless server running Ubuntu 12.04.4 that needs to come back up after a reboot without user intervention. There is an existing manual process that involves looking at files on a remote ...
0
votes
2
answers
567
views
Logging onto work VPN using linux
I am new to linux. I was using windows for years now ,and my work from home was done by using vnc viewer. I use vnc to log into an linux system. Now I am using a linux system , is there any way i can ...
2
votes
1
answer
599
views
Mounting via cifs or sshfs at boot depending on wifi SSID
I have a ubuntu home server 12.10 that is available over the internet for SSH connections. I also have my ubuntu laptop that I use at home and when on the road. What I would like is that during the ...
5
votes
1
answer
25k
views
modprobe fuse returns module fuse not found
I have ubuntu 12.04 and the kernel version is 2.6.32
Linux user1 2.6.32-042stab083.2 #1 SMP Fri Nov 8 18:08:40 MSK 2013 x86_64 x86_64 x86_64 GNU/Linux
When i run the command modprobe fuse it says
...