I setup SSH Server on my machine and it works well on LAN.
But when I try it over the internet I get the following error : ssh_exchange_identification : read: Connection reset by peer
I have forwarded my 22 port on the router to which the remote machine is connected and the port is OPEN.
Both the host and the remote machines are running 16.04 LTS
The SSH Server is running on the remote machine.
I am using the global IP of the remote machine and the /etc/hosts.deny and etc/hosts.allow files are empty.
What am I doing wrong ?
Please ask for any further information that is required.