在linux a上執(zhí)行:
$ssh-keygen -t rsa #不需要任何輸入,一路回車
$scp ~/.ssh/id_rsa.pub to linux B
$scp ~/.ssh/id_rsa.pub to linux B
在liunx b上執(zhí)行:
$cat id_rsa.pub >>~/.ssh/authorized_keys
只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。 | ||
![]() |
||
網(wǎng)站導(dǎo)航:
博客園
IT新聞
Chat2DB
C++博客
博問
管理
|
||
相關(guān)文章:
|
||