For example, I have two remote machines. Let's say, A, B. Usually I can do vim scp://A/path/file to remote edit A's files locally. So, is there a way to edit machine B, which can only be accessed from A, from host machine using vim directly? Thank you very much.
The topology: +---------------------------------------------------------------+ | | | | | +--------------+ +-----------+ +-----------+ | | | | | | | | | | | HOST | +----> | A |+--->| B | | | | | | | | | | | +--------------+ +-----------+ +-----------+ | | | +---------------------------------------------------------------+