現(xiàn)有三臺機(jī)器,簡單使用ssh-keygen實(shí)現(xiàn)免密登錄
1、
#vim /etc/hosts192.168.30.97 vm1192.168.30.98 vm2192.168.30.99 vm32、
#yum install -y openssh-server#ssh-keygen -t rsa -P ''#ssh-copy-id vm1#ssh-copy-id vm2#ssh-copy-id vm33、測試
新聞熱點(diǎn)
疑難解答
圖片精選