0
I have a script that synchronizes git repositories. If the repository has never been synchronized, directories are created.
Eventually, when a repository is added, the server serving the repository is not listed in the archive .ssh/known_hosts
and the ssh client does not proceed as it is necessary to confirm the inclusion of the public key in the archive.
How do I check if the server is already listed on .ssh/known_hosts
?