Mi pare strano che un timeout sia imputabile a fastweb quanto più al server.
Prova, sul server, ad aggiungere "KeepAlive yes" in sshd_config.