0

I've installed OSXFUSE in my Mac and used sshfs to mount a remote directory which is hosted in a Ubuntu server (I usually ssh this server using ssh username@ip). This works fine, but I am frequently getting unmounted, which I again need to mount using sshfs.

Can somebody help me understand why it is happening and what is the way out? My host machine is running MacOS Catalina and remote machine is Ubuntu 18.

Any pointer is highly appreciated.

Bogaso
  • 2,838
  • 3
  • 24
  • 54

1 Answers1

0

As your ssh connection remains connected I guess your sshd configuration is Okay. Use -o reconnect option for sshfs. Like,

sshfs USER@HOST:REMOTE_DIR MOUNT_DIR -o auto_cache,reconnect,defer_permissions