When try-ing to ssh into a linux server from a machine that doesn’t have reverse dns setup you might fall intro the situation where your ssh connection times-out befor you get the password prompt.
In this case, on the server, in sshd_config add the following line to solve your issue:
UseDNS no
