SSH login without password

$ ssh-keygen -t rsa
$ ssh b@B mkdir -p .ssh
// -- 註釋掉了 -- $ cat .ssh/id_rsa.pub | ssh b@B 'cat >> .ssh/authorized_keys'
$ ssh-copy-id b@B
At the end
$ ssh b@B hostname


參考:

Linux教程:SSH免密碼登錄的方法

SSH login without password


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章