Chris Green wrote:
> However there's a few places (in particular my hosting provider) where
> I have ssh access but don't have the option of getting my favourite
> editor installed (and there other useful utilities missing as well) so
> for those I sometime mount them locally using sshfs.
The thing I don't like about sshfs is that if the connection drops (for
example, laptop sleep or changing wifi network) you're left with a mount
that hangs - it doesn't unmount, and it doesn't try to reconnect, it's just
a zombie. It can hang programs that try and access files in there.
According to a stackexchange answer the thing to do is
sshfs -o reconnect,ServerAliveInterval=15,ServerAliveCountMax=3
which doesn't exactly trip off the tongue. I'll try it.
The unmount command is
fusermount -u
which is also non-obvious.
Theo
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|