主機(jī) 192.168.3.10 免密碼登錄到 192.168.3.106
1、在主機(jī)192.168.3.10生成秘鑰對育瓜,并將生成的公鑰拷貝到192.168.3.106
ssh-keygen -t rsa
ssh-copy-id xwh@192.168.1.111
2葫隙、測試
ssh xwh@192.168.1.111
1、在主機(jī)192.168.3.10生成秘鑰對育瓜,并將生成的公鑰拷貝到192.168.3.106
ssh-keygen -t rsa
ssh-copy-id xwh@192.168.1.111
2葫隙、測試
ssh xwh@192.168.1.111