測試環境: CentOS 6.x
假設我們想要不需輸入密碼就可以從 user@server-a 遠端登入 userb@server-b 

首先使用 usera 登入 server-a
1. ssh-keygen
2. ssh-copy-id userb@server-b
3. 測試
ssh userb@server-b hostname

arrow
arrow
    文章標籤
    ssh centos linux password
    全站熱搜

    helloworld 發表在 痞客邦 留言(0) 人氣()