Hello
Thank you for your question and reaching out.
- Please check that the network allows SSH traffic over the port being used.
 - Verify the firewall rules on both the client and server or Disable any Antivirus program or Windows firewall you may have for temporary purpose.
 - Please increase the timeout value for the SSH command.
 
--If the reply is helpful, please Upvote and Accept as answer--