server1 has a private and public ip. server2 has a private and public ip.
generally.. if server1 to ssh to server2 .. server2 would recognize server1 by it's public ip.
but because both servers are with the same firm.. i suppose they have configured it to use "private ip" when ssh ing to each other.
i connected to server1 from server2 then checked to see what my ip is ( server2 ) and i noticed it is not the public ip of server2 but rather the private ip of server2.
i want to disable this feature.. i would like servers to communicate only via their public ip's..
how to midigate this issue ?