In the log: kdeconnect.plugin.sftp: stdout: "Received disconnect from <ip> port 1739:2: User idle has timed out after 600000ms.\r\nDisconnected from <ip> port 1739\r\n" kdeconnect.plugin.sftp: stdout: "remote host has disconnected\n" kdeconnect.plugin.sftp: Process finished (exit code: 0 ) kdeconnect.plugin.sftp: "<Phone>" Remote filesystem unmounted kdeconnect.plugin.sftp: Unmount KProcess(0x1cdbcd0) kdeconnect.plugin.sftp: Destroy mounter I was expect the filesystem to only be unmounted when the device is unreachable.
And plus, after device become unreachable, the mountpoint is still there. sshfs is killed, but fusermount is not run.
Created attachment 104284 [details] Fix mountpoint problem
Created attachment 104285 [details] Use -o reconnect for sshfs
Hey Yuxan, Thanks for your patch! Why don't you submit it through https://reviewboard.kde.org/ ? I have some questions/comments and it's easier over there. Thanks again, Albert
Review board: https://git.reviewboard.kde.org/r/129993/ This is the first patch, I don't know how to submit multiple patches..