SSH generally takes port 22 to connect another machines but in some cases due to security reason SSH will be allowed in different ports. How can access if it allowed in different port. We need to connect like below.
Here port 6003 is used for SSH connection
ssh user@28.18.49.58 -p 6003
Here port 6003 is used for SSH connection