I have a Jenkins master in windows, and a slave on Linux server. I generated ssh public key with PuTTYgen, copied to slave's
~/.ssh/authorized_keys. Also created credential for ssh username/password by directly using the public key. But connection always failed with the following error: Warning: no key algorithms provided; JENKINS-42959 disabled
[08/22/17 12:02:01] [SSH] Opening SSH connection to ca2-buildsrv:22.
[08/22/17 12:02:01] [SSH] WARNING: No entry currently exists in the Known Hosts file for this host. Connections will be denied until this new host and its associated key is added to the Known Hosts file.
Key exchange was not finished, connection is closed.
can someone help me how to update known_hosts file.
Thanks
Victoria