ssh 绕过The authenticity of host '*.*.*.*' can't be established 直接输入密码

时间:2023-03-08 16:56:57
ssh 绕过The authenticity of host '*.*.*.*' can't be established  直接输入密码
只需要使用命令   ssh webgate@10.129.6.237 -o "StrictHostKeyChecking no"  即可以绕过
insp_ap@inspect02:/home/etc_backup/etc>
insp_ap@inspect02:/home/etc_backup/etc> ssh webgate@10.129.6.237
The authenticity of host '10.129.6.237 (10.129.6.237)' can't be established.
ECDSA key fingerprint is 5d:14:e7:1a:02:30:65:53:24:22:3d:0b:a5:38:41:b0 [MD5].
Are you sure you want to continue connecting (yes/no)? ^C
insp_ap@inspect02:/home/etc_backup/etc> ssh webgate@10.129.6.237 -o "StrictHostKeyChecking no"
Warning: Permanently added '10.129.6.237' (ECDSA) to the list of known hosts.
Password: insp_ap@inspect02:/home/etc_backup/etc>
insp_ap@inspect02:/home/etc_backup/etc>
insp_ap@inspect02:/home/etc_backup/etc> ssh webgate@10.129.6.237
Password: insp_ap@inspect02:/home/etc_backup/etc>