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 [email protected]:// /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`
...