bzk0711 | 21 Oct 11:44 2014
Picon

[Bug] Mount freezes on specific mount point

Hi there,

since two days, I have been experiencing a very strange bug with sshfs. It seems to be related to an
openssl/openssh update (since it worked before and that's the only thing which changed). However with
downgrading I was not able to isolate the issue, neither on Gentoo nor Arch, and had the issue on both systems.

I don't know if that's related, but I have in my .ssh/config:
Host sks
  HostName saunaserver
  ServerAliveInterval 10

saunaserver is a hosts entry which maps to a LAN IP. 

What I observe:
bzk <at> silencio ~ $ mkdir mnt/
bzk <at> silencio ~ $ sshfs sks:/mnt/raid mnt/
bzk <at> silencio ~ $ ls mnt/
data  literature  lost+found  music  rcs  roms  share  software  torrents  video
bzk <at> silencio ~ $ fusermount -u mnt/
bzk <at> silencio ~ $ mkdir sks
bzk <at> silencio ~ $ sshfs sks:/mnt/raid sks/
bzk <at> silencio ~ $ ls sks
data  literature  lost+found  music  rcs  roms  share  software  torrents  video
bzk <at> silencio ~ $ fusermount -u sks
bzk <at> silencio ~ $ mkdir data/media/music/server
bzk <at> silencio ~ $ sshfs sks:/mnt/raid data/media/music/server/
bzk <at> silencio ~ $ ls data/media/music/server/
data  literature  lost+found  music  rcs  roms  share  software  torrents  video
bzk <at> silencio ~ $ fusermount -u data/media/music/server/
bzk <at> silencio ~ $ mkdir data/media/music/sks
(Continue reading)

Jasper Lyons | 14 Oct 18:06 2014

Hisenbug

Hey guys

I’m running a macbook pro

OSX: 10.9.5
2.6Hz i5
8GB ram (1600Mhz DDR3)

SSHFS version 2.5 (OSXFUSE SSHFS 2.5.0)
OSXFUSE library version: FUSE 2.7.3 / OSXFUSE 2.7.1

When I try and run 

	sshfs user <at> host ~/amount/point -o allow_other,reconnect,volname=AName 

from within a launchctl launch agent I get no error but no mounted drive either.

If I replace the command with

	sshfs user <at> host ~/amount/point -o debug,allow_other,reconnect,volname=AName

again from within a launchctl launch agent I get all of the debugging output to stdout and the remote fs is
mounted at ‘~/amount/point’

This seems like pretty sketchy behaviour, anyone have any ideas why this might be the case?

Regards,
Jasper
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
(Continue reading)

Reuben Thomas | 3 Oct 22:36 2014

sshfs's use of -x can stop X forwarding when ControlMaster is used

Hi,

I just noticed that I did not have DISPLAY set in a login to a host for
which I configure "ForwardX11 yes". This turned out to be because I had an
sshfs mount as my first command in the current session to that host. sshfs
passes -x to ssh, which overrides my config. The connection is reused for
other logins (because I have ControlMaster auto configured for that host),
so I get no X forwarding.

I'm not sure what the best solution is, but how about passing "-o
ControlMaster=no' to ssh, so that it doesn't accidentally reconfigure a
session master?

I'm using sshfs 2.5 as packaged in Ubuntu 14.04.

--

-- 
http://rrt.sc3d.org
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
J. David Lee | 13 Sep 22:54 2014

Very odd problem with sshfs hanging

Hello,

I'm doing some development in the Go language, and I'm trying to 
remotely mount a directory called "gocode" - this is a conventional name.

Running the command:

sshfs -odebug,sshfs_debug,loglevel=debug garcon:/home/johnl/gocode/ 
./gocode/

produces the following output:

SSHFS version 2.4
FUSE library version: 2.9.0
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
executing <ssh> <-x> <-a> <-oClearAllForwardings=yes> <-ologlevel=debug> 
<-2> <garcon> <-s> <sftp>

and hangs indefinitely. In fact I can't even get another terminal to 
open without dropping down the console as root and killing sshfs with -9.

The odd thing is that this behavior seems to depend on the name of the 
local folder. If I rename the local folder with

mv gocode xgocode

Then the mount works perfectly.

(Continue reading)

Daniel Malisani | 27 Aug 12:52 2014
Picon

bug?

Hi, I tired to probe several form to connect a remote folder wit write
permission.

The problem:
I can work correctly -without any problem- trough console- example: vim,
but when I open a file with X11 (kwrite, gedit, sublimetext, etc) I can't
write file.

the lastest command tried was:
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
Nick Edwards | 7 Jul 14:59 2014
Picon
Picon

sshfs reconnect problems

Hi,

I'm having a problem with sshfs. I mount with:

sshfs nedward2 <at> my.host.ac.uk:/my/disk/ /Volumes/HZZ/

The problem arises when my IP address changes, which happens frequently 
as I mainly work on a laptop with wireless connection. I've seen lots of 
other messages relating to sshfs hanging in this case, but my problem is 
somewhat different. As well as hanging, sshfs also attempts to reconnect 
automatically, even though I did *not* specify the "-o recconect" 
option. Unfortunately, my host does not support key based authentication 
or anything other than password authentication, so ssh authentication 
fails. The problem is that it keeps on trying, resulting in hundreds of 
failed ssh connection attempts from my username per hour, which causes 
alarm bells to ring for my sysadmin and my account being suspended. Is 
there some way to stop sshfs from attempting to reconnect? The hanging I 
can deal with, as I can just kill sshfs processes and reconnect by hand, 
but the problem is I don't always notice straight away when my IP 
address has changed, so I need to stop the automatic reconnects.

I recently upgraded my sshfs version, and I don't think I saw such 
problems with the old version.

 <at> c161219 ~$ sshfs --version
SSHFS version 2.5 (OSXFUSE SSHFS 2.5.0)
OSXFUSE library version: FUSE 2.7.3 / OSXFUSE 2.6.4

Many Thanks,

(Continue reading)

andrea biancalana | 2 Jul 18:50 2014
Picon

Re: pam_mount + sshfs

il giorno Mon, 16 Jun 2014 17:36:45 +0200  andrea biancalana <andrea.biancalana <at> gmail.com> ha scritto:

> Hi,
> I'm trying to setup pam_mount + sshfs; I'd like to mount users home directories from a remote server.
> 

It seems pmt-fd0ssh doesn't work fine: so I've put ssh="0" and password_stdin options.

I found known_hosts must be set system wide (/etc/ssh/ssh_known_hosts) and
now remote home-dir are mounted in /homeX mountpoint.

The problem is that it doesn't work if I put /home/%(USER) as local mountpoint.

Any idea?

Thanks, Andrea

____________________________________________
pam_mount.conf.xml

<?xml version="1.0" encoding="utf-8" ?>
<pam_mount>

<debug enable="2" />
<path>/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin</path>

<volume fstype="fuse" path="/usr/bin/sshfs#%(USER) <at> xx.xx.xx.xx:" mountpoint="/homeX/%(USER)" 
options="password_stdin,reconnect,nonempty" ssh="0"/>
<logout wait="0" hup="0" term="0" kill="0" />
<mkmountpoint enable="1" remove="true" />
(Continue reading)

golodov | 24 Jun 16:47 2014

Reconnect

Please! Please! Please! Make sshfs to try an automatic reconnect if 
server is down, or was rebooted...
I think it sould be done this way: ping server every N seconds (e.g. 
every 5 seconds), if ping failed 3 times in a row - reconnect.

--

-- 
Best regards,
Stanislav Golodov
Mogilev, Belarus
Product Manager, aheadWorks co.
+375 29 7494602

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
andrea biancalana | 16 Jun 17:36 2014
Picon

pam_mount + sshfs

Hi,
I'm trying to setup pam_mount + sshfs; I'd like to mount users home directories from a remote server.

It seems there are 2 problems:

1) pam_mount doesn't send the password (through pmt-fd0ssh) to the command "mount.fuse sshfs#..."

2) using ssh keys (or running "mount.fuse sshfs#..." from command line) I can mount the remote home
directory anywhere except in local home directory

There is some bug in sshfs?

Thanks, Andrea

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
IT Department | 13 May 00:04 2014

Issue mounting SSHFS'd home folder during login

I've been using sshfs controlled by pam_mount to mount user's remote home
folder to the local home folder on diskless terminals.  This was working
fine using the version of ssh and sshfs included in Ubuntu 11.10, however
using the version in 14.04 (sshfs 2.5, OpenSSH 6.6p1) the mount process
locks up.

Activating debug, and testing using the following test pattern it locks up
after printing "executing <ssh> ...."

# Test reproduction #
Here's how I was able to test the situation, eliminating pam_mount and many
other variables: (Caveat, I'm typing these commands into this email by hand
- if there's typos, please correct!)
1. Create a test user (skip if you already have one) - for this procedure
I'll call the username 'test'
2. Create the a user with the same name on a server.
3. Remove the test user's home folder: `rm -r /home/test`
4. Create an empty home folder, thus simulating what pam_mount does
automatically: `mkdir /home/test; chown test:test /home/test`
5. Log in as the test user: `su - test`
6. Mount the user's home folder: `sshfs test <at> myserver:/home/test /home/test
-o workaround=rename,nonempty,allow_other,nodev,nosuid`
7. Observe to see if the mount completes.

The process hangs at step 7, thankfully a CTRL-C cancels it testing this
way.  If pam_mount calls it during login...  that's another story.

Note that after pressing CTL-C to cancel the process, you must execute
`umount /home/test` to test again.

(Continue reading)

Kirk Sefchik | 15 Apr 17:39 2014
Picon

<file> file is damaged

When I try to open binary files over SSHFS, I often get an error “<file> is damaged and can’t be opened.
You should move it to the Trash”, with an option to trash or cancel. But if I copy the file from the virtual
drive over to my desktop, it mysteriously works fine. Any idea why this might be happening? 
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech

Gmane