[cs615asa] Weird ssh port 22 error
xlu9 at stevens.edu
Tue Feb 10 00:24:23 EST 2015
> assh: connect to host ec2-**-***-**.us-west-2.compute.amazonaws.com <http://us-west-2.compute.amazonaws.com/> port 22: Connection refused
It would be more helpful if you give more information. You can check the following to have a try:
1. check the user name. http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesConnecting.html <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesConnecting.html>
For an Amazon Linux AMI, the user name is ec2-user.
For a RHEL5 AMI, the user name is either root or ec2-user.
For an Ubuntu AMI, the user name is ubuntu.
For a Fedora AMI, the user name is either fedora or ec2-user.
For SUSE Linux, the user name is root.
Otherwise, if ec2-user and root don't work, check with the AMI provider.
2. check the security group config of this instance to see if the port 22 is listening.
3. check your key-pair to see if it is a right one.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cs615asa