I needed to locally edit remote files on my server, so I tried to mount the whole remote file system (/) on my local system with SSHFS like so:
$ sshfs username@domain.com:// /mnt -p 22
Then it stuck (cursor blinking, no output), so obviously I cancelled it with Ctrl+C.
After that, the mount point folder /mnt became sort of unusable, unreachable (you name it) and kept returning me this error message on any attempt to access it:
fuse: bad mount point `/mnt': Transport endpoint is not connected
And it took this weird look in its parent folder:
$ ls -l /
...
d????????? ? ? ? ? ? mnt`
...
sudowithumount. Without it messages like "Device or resource busy" or "Transport endpoint is not connected" pop up. – Luís de Sousa Oct 08 '20 at 09:16aft-mtp-mount) andsudo umount -l /mntworked for me – Renato Byrro Oct 29 '21 at 13:04