# ssh failing

**URL:** <https://forum.ansible.com/t/ssh-failing/23175>\
**Category:** Ansible Project\
**Created:** [December 6, 2016, 2:20am UTC](https://forum.ansible.com/t/ssh-failing/23175 "2016-12-06T02:20:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Swathi\_Cutie](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@Swathi\_Cutie](https://forum.ansible.com/u/Swathi_Cutie)\
**Post date:** [December 6, 2016, 2:20am UTC](https://forum.ansible.com/t/ssh-failing/23175/1 "2016-12-06T02:20:51Z")

</div>

Hi i am connecting to my ec2 instance and i am getting this error , please help

ssh [centos@10.103.1.235](mailto:centos@10.103.1.235) -vvv  
OpenSSH\_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013  
debug1: Reading configuration data /root/.ssh/config  
debug1: /root/.ssh/config line 1: Applying options for 10.103\*  
debug1: Reading configuration data /etc/ssh/ssh\_config  
debug1: /etc/ssh/ssh\_config line 56: Applying options for \*  
debug1: Executing proxy command: exec ssh -A -W 10.103.1.235:22 [ec2-user@10.100.140.213](mailto:ec2-user@10.100.140.213)  
debug1: permanently\_set\_uid: 0/0  
debug3: Incorrect RSA1 identifier  
debug3: Could not load “/home/swathi/.ssh/swathikadem.pem” as a RSA1 public key  
debug1: identity file /home/swathi/.ssh/swathikadem.pem type -1  
debug1: identity file /home/swathi/.ssh/swathikadem.pem-cert type -1  
debug1: Enabling compatibility mode for protocol 2.0  
debug1: Local version string SSH-2.0-OpenSSH\_6.6.1  
debug1: permanently\_drop\_suid: 0  
channel 0: open failed: connect failed: Connection timed out  
ssh\_exchange\_identification: Connection closed by remote host

the key is placed in /home/swathi/.ssh/sathikadem.pem
