I've seen lots of posts dexcribing how to mount a remote directory on the local Windows machine using sshfs-win. But I don't know how to close the mount (unmount), once I'm done?
I really appreciate your help.
Had the same problem.
We cannot use windows "native" unmount ( net use X: /delete
) because for windows the sshfs-win
mount is not a network drive but a physical drive ( net use
returns empty set)
I managed to disconnect this mount by killing sshfs
, as it is recommended to do
The windows equivalent to the linked answer is:
taskkill /f /im sshfs.exe
or less brutal:
# GET PID
tasklist | findstr /i "sshfs"
# KILL PID
taskkill /PID pid_value
This will clear the mount and free the drive letter, so you can mount later on the same disk.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.