How to ssh from windows

asked 2017-07-14 01:31:42 -0600

fayvaz gravatar image

Hello -

I have a Virtualbox VM instance on Windows10 host and booted Centos7 QCOW2 image. My openstack packstack resides on this Centos7 instance and its enp0s3 interface has 10.0.2.15 IP address (gateway= 10.0.0.2, netmask= 255.255.255.0). I have port routing to my Windows host via (10.0.2.15:22 guest port routes to 127.0.0.1:2022 port) and I can ssh to this instance from Windows successfully. Everything is ok so far.

I have a Cirros instance at openstack and I have a floating IP 172.24.4.11 to connect outside. From Centos7 terminal, I can ssh by typing "ssh cirros@172.24.4.11" successfully. Everything is still ok so far.

I have a port routing from Virtualbox to do ssh this openstack instance (172.24.4.11:22 guest port routes to 127.0.0.1:2122 port).

However, I could not ssh from Windows host to this openstack instance located at floating IP 172.24.4.11. I have the same trouble with HTTP connection as well. I am not sure I did a mistake somewhere. Appreciated if someone could help me about this trouble.

(Cirros openstack instance) inside (Centos7 VM) inside (Windows host)

Port forwarding in Virtualbox (SSH): Guest 10.0.2.15:22 port forwarded to Host 127.0.0.1:2022 port Guest 172.24.4.11 port forwarded to Host 127.0.0.1:2122 port

Best regards, -fatih

edit retag flag offensive close merge delete