<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=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 10, 2015, at 12:24 AM, Xiakun Lu &lt;<a href="mailto:xlu9@stevens.edu" class="">xlu9@stevens.edu</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">1. check the user name.&nbsp;<span style="font-family: verdana, arial, sans-serif;" class="">For an Amazon Linux AMI, the user name is&nbsp;</span><code class="code" style="font-family: 'Courier New', Courier, mono;">ec2-user</code><span style="font-family: verdana, arial, sans-serif;" class="">.</span></div></div></blockquote><div><br class=""></div>It is Amazon Linux AMI and I used ec2-user.</div><div><br class=""><blockquote type="cite" class=""><div class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">2. check the security group config of this instance to see if the port 22 is listening.</div></div></blockquote><div><br class=""></div>Security group is also correct. Port 22 is listening.</div><div><br class=""><blockquote type="cite" class=""><div class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">3. check your key-pair to see if it is a right one.</div></div></blockquote></div><br class=""><div class="">Key-pair is also right.&nbsp;</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Regards</div><div class="">Sanzar</div></body></html>