ssh免密鑰登陸遠程主機

A機可免密碼訪問B機:
A機執行:
ssh-keygen 一路回車
ssh-copy-id -i ~/.ssh/id_rsa.pub B機用戶@B機IPssh

ssh@B機IP便可免密碼訪問B機rsa

相關文章
相關標籤/搜索