Host key verification failed jenkins code example
Example 1: host key verification failed
#Windows:
ssh-keyscan -t rsa github.com >> %userprofile%/.ssh/known_hosts
#Mac:
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
Example 2: Host key verification failed.
$ ssh -o StrictHostKeyChecking=no [email protected] uptime