Home > OS >  Node Js ssh: connect to host port 22. No route to host
Node Js ssh: connect to host port 22. No route to host

Time:10-25

Hi I in an attempt to connect to more than one aws account I did a number of stuff that has led to this error. "ssh: connect to host abc.com port 22: No route to host" I dont know what the problem is or how to solve it.

CodePudding user response:

This kind of issue occour mostly due to following reasons.
 May be your device is not properly connected to internet. Check your internet connection and try to load again. 
2- May be config file has incoreect information. Check your config file has correct information.
Check your ssh directory and ensure that ssh key exist here.
 
  • Related