Questions tagged [sshfs]

sshfs is a FUSE filesystem for Linux which allows directories on remote machines accessible via SSH to be mounted locally.

146 questions
1
vote
1 answer

Does a successful ssh, and a failed sshfs must imply a local error?

I can successfully log on to a server via ssh. ssh root@server_ip However, trying to sshfs sshfs root@server_ip:/home gives an error: remote host has disconnected If ssh is passing on the server side does that mean that the failure of sshfs is…
1
vote
1 answer

How to preserve file ownership when editing files over sshfs?

I administer a Ubuntu web server running a LAMP stack. I am now trying to mount the file system to a Windows machine over SSH (using win-sshfs). This works as expected. However, when editing files and saving them, the owner and umask is overwritten.…
1
vote
5 answers

Setting up multiple secure servers for company wide file sharing

The company I work for has multiple offices spread throughout the US. We're trying to come up with a solution that would allow secure file sharing across all the offices. What we are thinking at the moment is: Setting up a Linux server at each site…
baudtack
  • 490
  • 2
  • 6
  • 15
1
vote
2 answers

sshfs mount won't start from /etc/rc.local

I have the following commands in /etc/rc.local chmod 666 /dev/fuse chmod +x /usr/bin/fusermount /bin/su someuser -c "/usr/bin/sshfs someuser@someserver:/usr/local/storage /usr/local/storage_remote -o nonempty -o reconnect" If I run them from…
Alex Flo
  • 1,761
  • 3
  • 18
  • 23
1
vote
1 answer

Mounting fuse sshfs fails when invoked by Cron on FreeBSD 9.0

I have a remote server filesystem that I'm attempting to mount locally on a FreeBSD 9 machine via FUSE sshfs, and Cron for a backup routine. I have ssh keys between the boxes setup to allow for passwordless login as the root user on the local…
Tal
  • 121
  • 4
1
vote
2 answers

Install sshfs on Amazon Linux AMI 2012.03

SSHFS does not seem to be in the repository of the Amazon Linux AMI 2012.03. So I tried from Source: wget http://downloads.sourceforge.net/project/fuse/fuse-2.X/2.9.1/fuse-2.9.1.tar.gz tar xvzf fuse-2.9.1.tar.gz cd fuse-2.9.1 ./configure make sudo…
Charles
  • 185
  • 2
  • 8
1
vote
2 answers

Force command/process to execute via remote server

There is a Linux server that I access via sshfs. Unfortunately, a pure ssh connection is not possible due to security concerns on that end. If I access this server via sshfs, any commands that I execute, are sort of run through the local server, or…
Jake Wilson
  • 8,814
  • 29
  • 97
  • 125
1
vote
0 answers

network-mapped file system drops to read-only mid-stream, buffer I/O error with device mapper

Under linux 2.6 (CentOS 5.3 actually), I have a file system that works okay for a few minutes, then drops to read-only mode, while I am trying to read/write data to it. It is an ext3 file system referencing a luks (cryptsetup) device via…
slarocque
  • 11
  • 3
1
vote
1 answer

Mounting SSHFS drive for web site

What is going on on my web server if I mount a SSHFS drive at a remote server (off site, hosted by a VPS on a different domain) and someone downloads a file that I have on my web server? Here's the scenario, if the question above needs…
Peter Turner
  • 2,178
  • 9
  • 33
  • 45
1
vote
1 answer

sshfs automount with password-enabled ssh key and ssh-agent in ubuntu

I currently set up sshfs automount on ubuntu per this thread. It's nice because of the network up and down scripts. The benefit comes at a cost: it requires passwordless ssh via an ssh key. I was wondering if anyone had any advice on how to…
Vinh Nguyen
  • 143
  • 5
1
vote
1 answer

Is it possible to set the cache size for fuse and/or sshfs?

I can't seem to find something in the documentations. Is it possible to set the cache size for fuse and/or sshfs and if so, how?
Jan Deinhard
  • 2,383
  • 5
  • 26
  • 33
1
vote
1 answer

Access remote server with Nautilus through double SSH tunnel using SSHFS

I'm trying to access my work computer from home. We are supposed to SSH into a server, say ssh.company.com and from there ssh into an xhost to to work, say xhost04.company.com. xhost04 is not directly accessible. How can I browse files on xhost04…
D W
  • 125
  • 1
  • 5
1
vote
0 answers

autofs is not mounting sshfs point while sshfs and mount -t fuse does

folks. Recently I came over autofs and now trying to make my everyday life easier. I have a remote server that I use as I file share with a help of sshfs for years. So, I found some tutorials how to automate sshfs with a help of autofs. Here are my…
e-pirate
  • 11
  • 1
  • 4
1
vote
0 answers

Enforce SFTP Blind file upload with a proxy

How to enforce SFTP blind upload with a proxy? Scenario: I have the following nodes: a server, a proxy and multiple clients. The clients can initiate connection to the sever through the proxy node, and the server cannot initiate new connections. I…
atevm
  • 111
  • 3
1
vote
1 answer

How secure is encfs

Like others on this site, I am considering using encfs + sshfs for secure offsite backups. I am wondering how robust encfs is to brute force attacks? Do some users use the --stdinpass command with a file to make it harder to crack? Thanks