Tag Archives: jenkins Host key verification failed

jenkins Host key verification failed

Don’t panic in case of data tilt, teach you to easily obtain the slope of table tilt>>>

In the process of construction

One step is to transfer files through Rsync + SSH

Therefore, prompt host key verification failed

How to connect a new host without public key confirmation

When connecting to the server for the first time, a public key confirmation prompt will pop up. This can cause some automation tasks to be interrupted due to the initial connection to the server. Or because ~ /. SSH/know_ The contents of hosts file are empty, which results in the interruption of automation task. The strichthostkeychecking configuration instruction of SSH client can automatically accept the new public key when connecting to the server for the first time. Just modify/etc/SSH/SSH_ Config file, which contains the following statements:

Host * StrictHostKeyChecking no