I just want to know that can any class of ip(both public and private) can be used for establishing a remote access service like ssh, or is their their any limitation that public cannot access private and so on.
Private IP addresses, defined by RFC 1918, are not routable on the public internet and therefore cannot communicate directly with public IP addresses.
However, if a private address space(s) reside behind a form of address translation such as NAT or PAT, communication between inside local addresses, that are mapped to inside global addresses can communication with outside local and outside global addresses (not taking into account firewalls, IP filters, etc.).
|show 1 more comment|