Hot answers tagged

2

You can move all the keys from all the servers to the one and modify sshd_config to list all of them (options HostKey). Then the server should offer all the keys. Also depending on the openssh version (if you are above 6.8), the clients will pick up all the keys when connecting and after some time you might remove the old ones.


1

I recently resolved a similar issue, where Ansible would encounter "UNREACHABLE!" errors only for tasks requiring file transfers (e.g. copy, template) while connecting just fine for anything else. I found adding the following directive under the [ssh_connection] section helped: scp_if_ssh = True As you might guess, the issue was related to the target ...



Only top voted, non community-wiki answers of a minimum length are eligible