I have hosted Gitlab solutions on AWS. My gitlab servers are running behind ELB. I am trying to clone the repo first time over SSH and getting connection refused error. I have also opened up SSH port in ELB SG. Also, added the following in
Host mygitserver.com Preferredauthentications publickey IdentityFile ~/.ssh/example_com_rsa
Can you please guide me what is wrong with my SSH connection?