Updating known hosts

6854933580_2c8b688306_z

The very first time you log into a new host you will be asked to verify that the system is the one you intended to access.

Key exchange was not finished, connection is closed. IOException: There was a problem while connecting to [AGENT_HOSTNAME]:22 [04/04/17 ] [SSH] Opening SSH connection to [AGENT_HOSTNAME]:22.Key exchange was not finished, connection is closed. IOException: There was a problem while connecting to [AGENT_HOSTNAME]:22 Until now, SSH Agent were launched without using any Host Key verification which was a security concern.The release of SSH Slaves plugin 1.15 fixes this by introducing a Host Key Verification strategy to SSH Agents.Therefore, how can I suppress the prompt what SSH gives while making ssh known_hosts entry for the first time for a given user (~/folder, file known_hosts)?I found I can do this if I use the following config entries in ~/.ssh/config file. if I place the above code in the user's ~/.ssh/config file of a remote machine and try Ansible playbook for the first time, I won't be prompted for entring "yes" and playbook will run successfully (without requiring the user to manually create a known_hosts file entry from the source machine to the target/remote machine). What security issues I should take care if I go ~/.ssh/config way 2.RSA key fingerprint is 8c:5b:5e:69:a:f5:7d:4a:9a:d3:4c:fe:3f:43. Are you sure you want to continue connecting (yes/no)?

You must have an account to comment. Please register or login here!