shadom / win-sshfs

Automatically exported from code.google.com/p/win-sshfs
0 stars 0 forks source link

Connection killed #27

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Mount an sftp connection
2. Don't use it for a while
3. Try to use it

What is the expected output? What do you see instead?
I should be able to come back to it and use it after any period of time but my 
ISP kills idle connections. The drive becomes un-responsive and falls over.

Adding an option to send keep-alives would solve this issue.

What version of the product are you using?

win-sshfs: 0.0.1.5
Client OS: W7
Server OS: Centos6
Ssh server: OpenSSH

Please provide any additional information below.

Original issue reported on code.google.com by d...@websetgo.net on 17 Jul 2012 at 8:58

GoogleCodeExporter commented 8 years ago
I think that workaround for now would be to eneable NetworkDrive option 
Sshfs.exe.confing. I that case (at least on XP) os has an nasty habit to ping 
drive every 20 sec. Not sure because of caching ,but that would help for 
connection not be idle.

Original comment by mladenov...@gmail.com on 17 Jul 2012 at 1:13

GoogleCodeExporter commented 8 years ago
Thanks for the suggestions. Unfortunately is doesn't seem to work on Windows 7. 
I suppose for now I could write a script or something to touch a file on the 
mounted drive, that *should* send enough packets to the server to avoid being 
disconnected.

Original comment by d...@websetgo.net on 17 Jul 2012 at 3:36

GoogleCodeExporter commented 8 years ago
Sorry but I can help you till late October. If you have acces to 
server(OpenSsh) you can set ClientKeepAlive interval, that may help.

Original comment by mladenov...@gmail.com on 17 Jul 2012 at 4:40

GoogleCodeExporter commented 8 years ago
No worries thank you for trying :) I'll keep trying to come up with something 
myself.

Original comment by d...@websetgo.net on 17 Jul 2012 at 6:07

GoogleCodeExporter commented 8 years ago
Same issue here. Workaround: http://www.eldos.com/sftp-net-drive/

Original comment by axiom...@gmail.com on 30 Jul 2012 at 9:25

GoogleCodeExporter commented 8 years ago

Original comment by mladenov...@gmail.com on 7 Oct 2012 at 7:01

GoogleCodeExporter commented 8 years ago
There is another workaround for keepalives. You have to keep "pinging" a file 
in the created drive. I did this by downloading a software used for log 
monitoring( baretail  - http://www.baremetalsoft.com/baretail/) but it could be 
achieved with another software
1. Start the win-sshfs 
2. Open Baretail and a File within the new Drive
3. Work eternally non-sop

Original comment by marcosgr...@gmail.com on 16 Apr 2014 at 2:38