Answer the question
In order to leave comments, you need to log in
SSH multihop and text editors
Hello.
There is such a scheme:
Virtual machines are running on the server, all of them are connected to a virtual network. An ssh server is running on each virtual machine. The real server (10.5.5.10) is also running an ssh server.
On a working computer (linux ubuntu 12) I created a config file for the ssh client:
Host myhost
HostName 10.5.5.10
Port 22
User user1
Host virt1
HostName 192.168.122.10
port 22
User user2
ProxyCommand ssh -A myhost nc %h %p
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question