GNOME Bugzilla – Bug 139872
SSH connection not closed when unmounting SFTP server
Last modified: 2005-02-09 10:44:11 UTC
Description of Problem: When unmounting a connected SFTP server from Nautilus, the connection is not closed. The SFTP connection remains active. Steps to reproduce the problem: 1. Connect to a SFTP server 2. Unmount the server 3. ps aux | grep sftp Actual Results: SFTP connection remains active. Reconnecting the server in Nautilus does not require that the user's password be entered again. Expected Results: SFTP connection remains open. How often does this happen? always Additional Information:
I meant to say "SFTP connection closes when the server is unmounted" under the expected results.
I can confirm this too; I have many lines of this type from (failed) connections to a remote host in "ps aux" output: oForwardAgent no -oClearAllForwardings yes -oProtocol 2 -oNoHostAuthenticationForLocalhost yes -l my-username -s the-remote-host sftp In fact, all these left-over connections seams to cause problems for me to connect again, even with command-line ssh: ssh_exchange_identification: Connection closed by remote host
Also happens when you go to an sftp server using control-L. Confirming, moving to gnome-vfs because I think this is where the code is most likely to reside.
" Reassign bug to owner of selected component "
Created attachment 37172 [details] [review] Reap the processes! :)
Commited the patch above (with small improvements) to HEAD. Should be fixed now!