ansible/roles/set_env_authorized_key/files/host_ssh_config.j2
@@ -1,11 +1,7 @@ Host *.internal User ec2-user Host ec2* *.internal User {{remote_user}} IdentityFile ~/.ssh/{{env_authorized_key}}.pem ForwardAgent yes StrictHostKeyChecking no Host ec2* User ec2-user IdentityFile ~/.ssh/{{env_authorized_key}}.pem ForwardAgent yes StrictHostKeyChecking no ConnectTimeout 60 ConnectionAttempts 10