Friday, August 9, 2019

Re: [VIM] Re: netrw and tunneling

On Friday, August 9, 2019 at 10:32:18 PM UTC-4, Grant Taylor wrote:
> On 8/9/19 12:08 PM, Richard Mitchell wrote:
> > The tunnel would only be used for that host, which you already have
> > to get to by going through the intermediate host. It isn't going to
> > force other hosts to go through the same intermediate host.
>
> Correct.
>
> > Regardless, "Host" is only an alias. Call it whatever you want and
> > use it just for vi.
>
> Not quite. "Host" is how you define a set of entries that are for a
> specific host. The "targetHost" and "tunnel-host" are the names / aliases.
>
> The example ProxyCommand line is associated with the host entry named
> "targetHost". Meaning that ssh / scp / sftp to targetHost will use the
> entries under the "Host targetHost" line.

Yes, I just meant if he was concerned about unintentional use of the tunnel, he could give it a specific Host name that he only used with vi commands. Certainly that name and its associated configuration would be available to ssh/scp/rsync/etc if he used that name with those commands, but he could use names (say with _vi appended) that he only used with vi.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/04e70740-0c07-48de-b917-d64399fd92e1%40googlegroups.com.

No comments:

Post a Comment