Dear Vimmers,
I'm in the situation where I've to remotely administer a server and I would
like to edit the files on my machine via netrw.
I'm already used to "gvim scp://host+path" but in this case the remote server
can be accessed only through one other machine and I've to do a tunnel to edit
them.
I've already tried to add to my .vimrc
let g:netrw_scp_cmd="scp -q -oProxyCommand=\"ssh -W %h:%p tunnel-host\""
but it didn't work. I googled around but seems that this problem never raised.
I'm still on vim 7.4 and I'm using a version of openssh older than 7.3 (this
is why I'm still using ProxyCommand instead of ProxyJump). Unfortunately to
update my linux-box is not an option in the near future.
Any idea?
Thank you
Walter
--
--
--
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/alpine.LFD.2.20.1908091217110.6718%40hymir.docenti.di.unimi.it.
No comments:
Post a Comment