Ubuntu: Seek and destroy a hanging ssh/sftp session


I am using thunar to access files on a remote PC. However, sometimes the ssh session hangs, and I have to terminate thunar. Then when I try to log back in, thunar just hangs. The only solution I've found is to restart my local PC, and reconnect. Since this works, obviously this is something I can fix locally, by probably restarting a hanging process, instead of fully restarting the PC!

So how can I diagnose/find the hanging process/service, and restart it?

I am using Xubuntu 15.10.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »