This question already has an answer here:
I have been able to log on to my dev box (which is in my home network) for a while now, using ssh username@publicip however recently this has become impossible due to the following error
ssh_exchange_identification: read: Connection reset by peer
Whats strange is, if i use the network address instead of the public address I am able to connect with no issues.
My colleague is also able to SSH to the public ip address with no issues as well.
What could be the cause of this and how can I solve it? I did a quick google which suggested I look in my etc/hosts.deny file, however I don't have one.