I can't unmount an ftp connection in my ubuntu by clicking on the unmount option in the GUI.
The only solution that works for me is restarting the machine.
Is there a command or some other trick that will help?
Sometimes, sftp connections can get stuck. Use
to find the process ID of the ftp connection. If nothing else helps, I normally kill the process with
This should only be done if unmounting as user54114 has mentioned doesn't work correctly as it's not really a clean solution. However, I'm using gigolo in Xubuntu and I sometimes have to use this method if the connection can't be closed normally anymore.
Use 'mount' to find out where the remote directory is mounted Then unmount it using fusermount -u