0
点赞
收藏
分享

微信扫一扫

如何避免ssh过程中出现提示Are you sure you want to continue connecting (yes/no/[fingerprint])?

朱小落 2022-05-02 阅读 85

修改下列参数StrictHostKeyChecking no可以避免出现这个提示Are you sure you want to continue connecting (yes/no/[fingerprint])?

[oracle@stbm000019-vm13 ~]$ ssh stbm000019-vm16
The authenticity of host 'stbm000019-vm16 (100.70.4.132)' can't be established.
ECDSA key fingerprint is SHA256:Rv8WM2UoeoVGOG93tq2Ecpswv23IqyLGvyZVkjh2iyg.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'stbm000019-vm16,100.70.4.132' (ECDSA) to the list of known hosts.

[root@stbm000019-vm13 ~]# cat /etc/ssh/ssh_config | grep -i stricthostkeychecking
#   StrictHostKeyChecking ask
StrictHostKeyChecking no


举报

相关推荐

0 条评论