Hello,

I tried testing that here, and I also had problems. I think the problem
is with remote host identification.

ie, if you try to connect to the servers using ssh from the command
line, like ssh -p 2201 192.168.2.1 and ssh -p 2202 192.168.2.1, one
command will work, the other will fail with an error message like
"WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!"

One solution would be to add two ip addresses to the gateway,
192.168.2.10 and 192.168.2.20 one for each remote ssh server, and use
DNAT.

192.168.2.10 -> 192.168.1.10
192.168.2.20 -> 192.168.1.20

-- 
Access to remote SSH server does not distinguish the connection by port
https://launchpad.net/bugs/59882

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to