1

I have an Ubuntu machine in VMWare infrastructure. It has got a public IP address to which I can ping easily. I have installed openssh-server and I can confirm that SSH daemon is running and port 22 is allowed in firewall as well. But still my telnet to port 22 and SSH connection using putty is not connecting to that machine. Any ideas to solve this would be highly appreciated.

enter image description here

Just did a grep now to see the running process and its showing there: enter image description here

1
  • When you say not connecting...are you getting a specific error message or is the connection attempt just timing out? Are you able to SSH from the local console back to the localhost address ssh [email protected]? Sep 27, 2017 at 6:26

1 Answer 1

0

This is resolved. vCloud Director has a setting of DNAT whereby redirecting public IP to required server's private IP with port number. Changed that to my server private IP and started working fine. This setting was unknown to me till now.Thought of posting this answer, maybe someone will find helpful.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .