I am trying to mount directories from my work machine on my laptop via sshfs. The command I'm running is
sshfs -d -o allow_other -o reconnect -o ServerAliveInterval=15 server:~/Documents ~/Documents/home
The corresponding entry in ~/.ssh/config
is
Host server
User myname
Port 22
ProxyCommand ssh -q -W machineName.serverAdress.com:%p WorkNetworkName
Now everytime I run the command I just get
FUSE library version: 2.9.4
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
and then nothing. I can't even kill the process or unmount since in all other terminals I can enter a command but it won't run. The only thing I can do then is put the laptop to sleep and wake it up again. When I then run ls
in ~/Documents
on my laptop I get:
d????????? ? ? ? ? ? home
And fish
throws the following error message on every letter I type:
fish: Error while searching for command “/home/username/Documents/home/bin/python_lib/ls”
access: Transport endpoint is not connected
where ~/bin/python_lib
is a directory I keep my python scripts on my work machine, so this is part of my PYTHONPATH
on my work machine.
Can anyone see what I did wrong?
Cheers
server:~/Documents
can't work. Better tryserver:Documents
home
as a directory name. I suspect that either something in your desktop environment is watching for mount points, or you have a search path that includes this volume. What desktop environment are you running? What is the output ofexport | grep Documents
?~
is not expanded on the remoteserver:~: No such file or directory
~
for me.