I have two Linux systems
One is the client and the other is the server
I put two systems in one network and was able to connect to the server via a local ip
It means as follows:
ssh [email protected]
But now I am trying to connect to the server through the public ip that I requested ... I got my public address from the following site
I got my public address from the site above and tried to connect to it via ssh
ssh ahmadreza@public_ip
But the connection was not established and I made the following error
ssh : connat to host <public_ip> port 22 : connection timed out
I checked my port forwarding
I also made sure my port was on 22
But the problem still persists and I can not enter through the public address