ssh-keygen 免交互


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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM