ssh-keygen 免交互
[plain] view plain copy
$ ssh-keygen -t rsa -P "" -f ~/.ssh/id_rsa

ssh首次交互免输入yes
[plain] view plain copy
[root@node1 ~]# ssh vnode2
The authenticity of host 'vnode2 (192.168.122.20)' can't be established.
RSA key fingerprint is 15:1d:e3:1e:4b:ed:6f:da:4f:a8:e3:9e:5e:75:da:bd.
Are you sure you want to continue connecting (yes/no)?

[plain] view plain copy
ssh -o stricthostkeychecking=no vnode2

相关文章:

  • 2022-12-23
  • 2021-12-11
  • 2021-07-27
  • 2022-03-09
  • 2022-12-23
  • 2021-08-22
  • 2022-12-23
猜你喜欢
  • 2021-08-17
  • 2022-12-23
  • 2021-07-22
  • 2022-12-23
  • 2022-01-25
  • 2021-06-15
相关资源
相似解决方案