<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hello,</div><div class=""><br class=""></div><div class="">I am trying to do a SSH log in to my Amazon EC2 Linux AMI instance but it keep saying the following error:</div><div class=""><br class=""></div><b class="">assh: connect to host ec2-**-***-**.<a href="http://us-west-2.compute.amazonaws.com" class="">us-west-2.compute.amazonaws.com</a> port 22: Connection refused</b><div class=""><br class=""></div><div class="">I worked with the same instance before and now it giving me this error. It happened with me before and I had to create a new instance from the scratch and I was able to do the ssh. Now I am unable to log in to the instance.&nbsp;</div><div class=""><br class=""></div><div class="">If anyone knows how to get rid of it, please help. It will be of great help.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Regards</div><div class="">Sanzar</div></body></html>