osxfuse icon indicating copy to clipboard operation
osxfuse copied to clipboard

sshfs freezes system after failure of login

Open seheatwole opened this issue 4 years ago • 18 comments

When I mess up the pin for my login or the connection fails, osxfuse locks up finder and gradually the rest of the system locks up and requires a hard reboot to clear.

I am on a 2019 Macbook Pro with MacOS Mojave 10.14.6 SSHFS version 2.5 (OSXFUSE SSHFS 2.5.0) OSXFUSE 3.10.3 FUSE library version: 2.9.7

seheatwole avatar Jan 10 '20 13:01 seheatwole

Same here with Big Sur 11.0.1. Any progress after 10 months?

chfanghr avatar Nov 19 '20 02:11 chfanghr

Same on OSX10.15...

zebu1er avatar Nov 29 '20 14:11 zebu1er

on OSX10.15.7 macFUSE 4.0.5 SSHFS 2.5.0

I use the key in ssh-agent, so the login should be successful, because ssh works

maybe you need some kind of logs?

Andrysky avatar Jan 05 '21 11:01 Andrysky

same here...

dagi3d avatar Jan 28 '21 16:01 dagi3d

Same here, on OSX10.15.7 macFUSE 4.0.5, SSHFS 2.5.0. This is really annoying and lead to a series fo hard reboots and is rendering osxfuse unacceptable for us. What kind of logfiles may we provide in order to analyse the problem?

wglas85 avatar Feb 04 '21 20:02 wglas85

I think this issue needs to be addressed in SSHFS, not macFUSE. At least SSHFS would be the logical start point for investigating this issue. My main focus is macFUSE, not SSHFS. If anybody wants to take a shot at this, help is always welcome.

bfleischer avatar Feb 04 '21 20:02 bfleischer

on OSX10.15.7 macFUSE 4.0.5 SSHFS 2.5.0

I use the key in ssh-agent, so the login should be successful, because ssh works

maybe you need some kind of logs?

Same problem still and sshutil does not work at all... How can I activate logs?

sshfs gives me no output at all and I have to restart to be able to use my system again.. :(

tbrodbeck avatar May 17 '21 16:05 tbrodbeck

macFUSE 4.1.1, released a few days ago, fixed "an issue when mounting a volume that can, in rare cases, result in the file system process crashing". Does this still happen in 4.1.2 which was released today?

grischard avatar May 17 '21 20:05 grischard

macFUSE 4.1.1, released a few days ago, fixed "an issue when mounting a volume that can, in rare cases, result in the file system process crashing". Does this still happen in 4.1.2 which was released today?

Yes I am using macFUSE 4.1.12

tbrodbeck avatar May 18 '21 07:05 tbrodbeck

macFUSE 4.1.1, released a few days ago, fixed "an issue when mounting a volume that can, in rare cases, result in the file system process crashing". Does this still happen in 4.1.2 which was released today?

Okay I found the reason for my freeze. In my case I was calling zsh; exit in my bashrc (because the server was using bash by default). This caused my sshfs to freeze!

tbrodbeck avatar May 18 '21 18:05 tbrodbeck

macFUSE 4.1.1, released a few days ago, fixed "an issue when mounting a volume that can, in rare cases, result in the file system process crashing". Does this still happen in 4.1.2 which was released today?

Okay I found the reason for my freeze. In my case I was calling zsh; exit in my bashrc (because the server was using bash by default). This caused my sshfs to freeze!

🤣🤣👍🔥

Andrysky avatar May 18 '21 19:05 Andrysky

Can anyone else reproduce this with 4.1.2?

grischard avatar May 20 '21 17:05 grischard

Got the same :(

$ sshfs --version
SSHFS version 2.10
FUSE library version: 2.9.9
fuse: no mount point
$ sshfs --version
SSHFS version 2.5 (OSXFUSE SSHFS 2.5.0)
FUSE library version: 2.9.9
fuse: no mount point

both freeze :(

macFUSE – 4.1.2

tyzhnenko avatar Jul 18 '21 19:07 tyzhnenko

Froze everything for me. Kind of hard to troubleshoot... hard freeze. Had to recycle everything. I don't know if it was the egg or the chicken and I don't have the time right now to hunt or chase. Same versions as tyzhnenko
bummer

etsiaDigital avatar Sep 30 '21 21:09 etsiaDigital

Same here, this is really annoying and I'm not getting any output from sshfs:

SSHFS version 2.10.0
FUSE library version: 2.9.9
fuse: no mount point

mwort avatar Nov 03 '21 12:11 mwort

Fresh install of macFUSE 4.2.3 and SSHFS 2.5.0 today on macOS 11.6.1:

sshfs --version
SSHFS version 2.5 (OSXFUSE SSHFS 2.5.0)
FUSE library version: 2.9.9
fuse: no mount point

I hit ^C at the password prompt and it triggered this hang. Had to hard reboot.

Edit: Hm, it appears I had version 3.11.2 of osxfuse from Homebrew installed. Removed and the --version output is the same.

rryan avatar Dec 20 '21 05:12 rryan

This seems to be a consistent problem. Do you know if this is going to be resolved in a patch or fix?

rlam3 avatar Dec 28 '22 18:12 rlam3

I am not sure, but this may be the same problem as #856. Some users have reported some success by just uninstalling and reinstalling while on a newer macOS version (sounds like 12.1 and above) (https://github.com/osxfuse/osxfuse/issues/856#issuecomment-1012141230):

Not sure if this will help anyone, but sshfs was hanging on my m1 mac, but is now working 🎉

Unsure what fixed the issue but I did the following:

  • Removed macFUSE (installed from https://osxfuse.github.io/)
  • Restart
  • Updated macOS from 12.0.1 to 12.1
  • Install macFUSE via brew (e.g. brew install --cask macfuse)
  • Restart
  • Then sshfs working

Sorry if that doesn't resolve your issue, I'll update if I have any further issues.

ToeKneeFan avatar Apr 14 '23 20:04 ToeKneeFan

The new 4.6.2 release addresses the hang.

bfleischer avatar Mar 16 '24 11:03 bfleischer