To understand the reason for the inability to connect? Regards.
Yes, it is possible to debug a problematic ssh connection and understand the reason for the inability to connect.