[conspire] access to network drive - denies to root?
Nick Moffitt
nick at zork.net
Mon Jul 20 04:42:03 PDT 2020
On 20Jul2020 04:17am (-0700), Rick Moen wrote:
> Don't forget FiSH.
> http://linuxmafia.com/faq/Security/fish-protocol.html
>
>
> > but ssh is already there and I add no extra service or web accessable
> > threat this way, so unless I find a compelling reason otherwise, I
> > contune with SSHFS
>
> The nice thing about FiSH is that it only barely needs anything behind
> just basic SSH transport, to make it work. And unlike SSHFS, it's not
> achingly, painfully slow. See link.
Similarly, the `netrw` module in core vim can do this:
vim scp://user@myserver[:port]//path/to/file.txt
It will copy the file down via SSH into a buffer for you to edit, and copy the results up every time you write to the file with `:w` or `ZZ` or similar. It's quite handy for quickly editing a file on a remote system that you have write access to. The main drawback for me is that you can't do things like `:mak` to run make on the remote system, and you can't edit files via sudo.
But sometimes if I'm flummoxed by a lack of syntax highlighting (which to me is a form of weak linting) on a remote vim install, I'll just do it via scp:// from my laptop and job done.
More information about the conspire
mailing list