Linux.com

Reconnect broken sshfs connection

Link to this post 10 Oct 09

Hello,
I am having this issue for a while now. Could not find a solution. Here is what I have in fstab

I am mounting a directory to my client machine at /mnt/work using sshfs.This works fine but everytime the server is restarted, I need to do a manual mount to establish the connection. The reconnect option is not of help.

Any ideas/suggestions?

[code]sshfs#vimal@work:/var/adt /mnt/work fuse noauto,user,allow_other,uid=1001,gid=1001,reconnect 0 0[/code]

Thanks.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board