Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sshfs]

SSHFS is a tool that uses SSH to enable mounting of a remote filesystem on a local machine.

0
votes
1answer
25 views

What is the most efficient way to migrate a website over SFTP without full SSH Access?

I need to migrate a reasonably large website to a new server for a client with the least amount of downtime as possible. Unfortunately the client's current host only allows SFTP access without full ...
0
votes
0answers
18 views

Allow creation of broken links with FreeFileSync

When trying to synchronize such a folder on a personal remote using FreeFileSync (via sshfs): ~/MyDocs/ ├── file.txt └── subFolder/ │ └── relative_link -> ../file.txt ├── otherFolder/ └── ...
0
votes
1answer
121 views

Kinit with systemd in user mode

I have created a keytab file under the user home directory $HOME/client.keytab. The authentication cache file is in it's default location /tmp/krb5cc_%U (where %U is the UID). Now, I have this simple ...
0
votes
0answers
63 views

SSHFS automount through FSTAB using Kerberos (GSSAPI)

Following from this Q&A, I have successfully installed and tested k5start to work with the Kerberos server of my university. My university uses a MIT Kerberos v5 server for authenticating tickets. ...
2
votes
1answer
1k views

Getting `sshfs` working on WSL or finding an alternative

My university's CS department has its own server used for development (from here on out, dev.univ.edu). I have SSH and SFTP access to this server, and I was hoping to do some heavy work on my Windows ...
0
votes
0answers
55 views

SSHFS rights management in Debian 9 virtualized build environment

I am working with a setup, where the build machine is virtualized and storage for the build process is accessed through a network share: VM host OS: Debian 8 VM Manager: VirtualBox VM client OS: ...
1
vote
0answers
175 views

Automatically mount sshfs on login, using gnome keyring

I understand the purpose of /etc/fstab is used to mount volumes on boot. However, in my case I have an sshfs that requires an encrypted identity file. So how would I go about supplying passphrase for ...
0
votes
1answer
194 views

sshfs to mount ftp folder to local folder not working

in my debian I am trying to mount a remote FTP folder to a local folder with sshfs. This is the command I use: sshfs ftp_user@ftp_ip: /mnt/myfolder The command is executed and I get the error: read:...
0
votes
0answers
51 views

How can I avert ssh tunneling interference

I am using a tunnel through machine a to access machine b, and it works fine for either ssh or sshfs separately. I need to have both an active remote session and a mounted filesystem for local work. ...
0
votes
0answers
132 views

error mounting remote directory on Mac using sshfs and public key file

I'm currently running 10.13.3 (High Sierra). Ultimately, I'm trying to automount a directory on my web host's server using sshfs using this guide. I have generated a shared key and can ssh to the ...
0
votes
0answers
565 views

Reverse sshfs over ssh

I want to mount dir on remote machine from host machine connected over ssh preferably via ssh tunnel; with method described below. how to mount local directory to remote like sshfs? But if get peer ...
0
votes
2answers
122 views

How to mount local directory to remote hosts?

I'm doing some experiments with some computers I have, I have the following scenario local network host1 [ubuntu] vps [internet] host2 [CentOS] I have an external hard disk connected to the ...
0
votes
0answers
473 views

How to share a Linux directory as a folder in Windows?

Maybe it seems that the best way is using samba. But it's not ideal. Access to some files or directories will not be possible unless changing the file or directory's owner or mode. For example, one ...
1
vote
2answers
38 views

Network filesystem client moving between networks

At home, I have a network drive and devices that mount it from a local IPv4 address. Away, my laptop mounts that same drive with sshfs and a DNS-resolvable hostname. Moving the laptop from network to ...
1
vote
1answer
1k views

SSHFS mounting with FSTAB during boot (Linux / Debian)

Is there anyone out there who can help me try to "translate" this SSHFS command to a proper fstab-line? I already tried once and messed up with whole FSTAB and boot. sshfs user@remoteserver.com:/...
2
votes
3answers
3k views

How to use sshfs on cygwin

How to use sshfs on cygwin? Direct way does not work: $ apt-cyg install sshfs Installing sshfs Unable to locate package sshfs
0
votes
0answers
148 views

Why can I cd into non-executable directories mounted with sshfs?

I noticed that I can cd into non-executable directories that are mounted with sshfs. First, I created directories with all eight possible modes: $ pwd /mnt/remote $ for i in {0..7}; do mkdir test_$i;...
0
votes
1answer
233 views

Mount a directory of another server on boot automaticaly

I have two Centos 7 servers and I mounted a directory from the 2nd server on the 1st one by SSHFS. And it works fine. but when I reboot the 1st server I need to mount the directory manually. What ...
0
votes
0answers
275 views

SSHFS file permissions issue

I am looking for the right way of allowing multiple users to mount a remote folder on my Ubuntu server to our Macs so we can edit the remote files. The files in the remote Ubuntu server are all owned ...
1
vote
1answer
301 views

SSHFS over VPN freezes on large chunk

I'm running SSHFS over a VPN connection. When trying to send a chunk of 1270 bytes into a file on this remote file system: head -c 1270 /dev/urandom > /path/into/the/sshfs/foo the whole file ...
0
votes
1answer
36 views

Mounting a different SSHFS automatically depending on location

Basically, we have a local server and a remote server. The remote server is for out-of-the-office. It's easy to easily have it mount a folder over SSH to the remote server. However, when in the ...
1
vote
0answers
26 views

Will searching a text with grep results in copying files in SSHFS

I have linked a remote directory using SSHFS and now if i search some text within there files will SSHFS copy files to my local space..I know when we try to see the content of the files in SSHFS it ...
0
votes
2answers
783 views

nginx doesn't read mounted /usr/share/nginx/html

Goal: I am using an NGINX container in which I mount a remote SSHFS filesystem into /usr/share/nginx/html, the purpose is to use each time a new stateless nginx container but with the same ...
0
votes
0answers
147 views

Mount remote folder between 2 Linux VPS

I'm trying to link to VPS servers to share files between them with a consistent connection. One is running Ubuntu 16.04, the other is Cent OS 7. I've linked them with a VPN connection thinking that ...
2
votes
0answers
641 views

Synology - mount a directory via sshfs with user/group mapping

I have been experimenting with sshfs with the intent to access a directory on a Synology box and mount it via Terminal. To this end, I am using version of SSHFS as provided by the FUSE for macOS ...
3
votes
0answers
123 views

I need to run a shell command after connecting with SSHFS

I'm connecting to a remote server using SSH. Unfortunately, a connection with Nautilus or Konqueror over SCP did not work (although it perfectly works fine over SSH). I am not using SSHFS which works ...
2
votes
2answers
435 views

OSXFuse mounted directory ownership error with automount SSHFS

I am running on macOS Sierra and I am trying to configure auto-mount of external server's directory via SSHFS and osxfuse. However, every time the disk is being mounted, it is owned by root and normal ...
1
vote
0answers
259 views

Unison sync of sshfs mount - what can go wrong if the connection breaks?

I have a cloud storage server that I would like to sync with multiple computers. I have access via rsync, SFTP, or WebDAV, but no shell access. So I can't run Unison on the server. My first solution ...
1
vote
1answer
1k views

fuse: invalid argument, MacOS

I've been mounting a Linux filesystem on my Mac successfully with the following syntax: sshfs -o allow_other, defer_permissions username@remotelinux:/ ~/mnt/mountpoint Starting yesterday, this fails ...
0
votes
1answer
177 views

Enable sshfs for non-admin users on CentOS 6.8

Would it be possible to enable sshfs to mount for users without admin permissions in CentOS 6.8?
1
vote
0answers
526 views

Git response time of mounted folder is super slow over NFS or SSHFS

I have a Git-enabled PHP project folder on a dev server and we run all our code on there (means we don't have to set up and host everything locally on our machines). I currently edit my code by ...
0
votes
0answers
627 views

SSHFS Mount using fstab is very slow

I am using fstab to create a sshfs mount. It is working but it takes 5-10 minutes until it's executed. Is it possible to do it right away ? What makes it so slow ? It's not about the speed of sshfs ...
1
vote
0answers
433 views

Super slow cd into SSHFS mounted folder in Mac OS X

I have an SSHFS mounted folder and it's working very well, except that when I try to cd into it from the terminal it lags for about 30s. Also, ls -al lists all the files but then lags for the same 30s ...
3
votes
1answer
252 views

Set up SSHFS automated mounting only when user SSH into remote server?

i want to set up SSHFS such that whenever I SSH into remote server, it mounts the file transfer folder. Is it possible to set it up in such way? making script after @Alex's comment. my script is ...
4
votes
1answer
3k views

Using sshfs to mount a remote filesystem on OSX fails periodically with “Bad address”

I have a remote filesystem which I mount on my Mac (10.11) with the following command: sudo sshfs username@xxx.xxx.xxx.xxx:/ ~/mnt/remotefs Sometimes this command works just fine, and it prompts me ...
0
votes
1answer
613 views

sshfs with multiple clients

I have a server running under Debian 8. It has an SSH and an SFTP server running properly and I use them without any problem. I installed win-sshfs on my computer so I can access to my SFTP ...
0
votes
1answer
435 views

Autoconnect Cisco IPSec VPN on MacOS Sierra

MacOS' built in network settings do not allow me to save the password, and the connection dies numerous times per day. I'm trying to find solutions for Save VPN password. Start VPN on login. ...
1
vote
2answers
452 views

How to edit root privliged files mounted locally using sshfs

I have a server running ubuntu 16.04 (same OS is on my local machine). I then mount remote file system on my local machine using command sshfs -o allow_other user@remote_server.com :/ /home/...
0
votes
1answer
4k views

read: Connection reset by peer using sshfs to connect to AWS

I am trying to use sshfs to mount a directory on an AWS instance from Ubuntu 16.04. The command I am using: sshfs -o IdentityFile=keyfile.pem ec2-user@ecX-X-X-X.us-west-1.compute.amazonaws.com:/var/...
0
votes
1answer
495 views

Openoffice access files on NFS extremely slow and can not save file

I am using a Debian 7 box. I have an NFS network drive mounted on my "/mnt/drive_R". Everything works fine except Apache openoffice 4.1 and LibreOffice 3.5, yes I tried both version of openoffice. I ...
1
vote
0answers
442 views

SSHFS Permission Denied to symbolic link

I can mount a remote directory to /home/user/mnt and can see symbolic links via ls of that directory, but I cannot r,w, or x the links. I mount using the code below, using RSA key pairs for automatic ...
2
votes
1answer
559 views

How can sshfs be made more reliable?

I use sshfs to connect the filesystem on my computer to that of my web host. I find that after a few hours of being connected, the sshfs becomes unmounted and synchronization no longer happens. Is ...
0
votes
2answers
364 views

10 second delay on ssh operations

After doing various things to my BeagleBone Black, I noticed it started giving me a ten second delay on every SSH operation, including SSHFS file transfers. But once it was connected (after that ...
0
votes
1answer
162 views

Corrupted directory after sshfs hard killing

I've mistakenly mount huge network directory using sshfs util. Trying to umount it leaded to hand-up this process, so I decided to kill -9 appropriate sshfs process. This leads to that folder ...
0
votes
1answer
214 views

Force Unix line endings for a partition in Notepad++

I've a Linux partition mounted using Web Drive on a Windows PC. It uses the same Drive letter all the time. Whenever I create a empty new text file and then open it with Notepad++, it starts using ...
0
votes
1answer
1k views

Unable to mount external drive or sshfs

I'm running Linux Mint 17.2. Here's what happens when I try to mount an external USB drive: Error mounting system-managed device /dev/sdc1: Command-line `mount "/media/nick/MyPassportRed"' exited ...
3
votes
1answer
3k views

What are the difference between nfs over ssh and sshfs?

I’m looking for a solution to mount an folder from my homeserver (linux) over the internet. The Data should be encrypted, so that nobody could read my file content or any metadata. I have found ...
0
votes
1answer
674 views

win-sshfs “Server HMAC algorithms not found” Can't connect to server

I'm trying to setup SSHFS from my windows PC to my Debian 8 VPS, however whenever I try to connect with win-sshfs it returns this error: Server HMAC algorithm not found From what limited information ...
1
vote
1answer
3k views

Translate permissions with as sshfs remote mount?

I have two computers on a network, call these Q and X. I want to mount via sshfs X:/ to Q:/mnt/X. So to do this I use: user@Q $ sudo sshfs root:X/ /mnt/X This successfully mounts it and allows the ...
0
votes
0answers
238 views

sshfs remount frequently 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 ...