关闭

To setup an SSH connection from A to B using key-pair

586人阅读 评论(0) 收藏 举报
分类:

step 1, use ssh-keygen on A to generate a key-pair

step 2, copy the content of the public key to B (append to ~/.ssh/authorized_keys)

step 3, try to connect from A using ssh -i path_to_private_key user@B, and enter yes to permenately save host B on A (then it won't ask again)

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:45866次
    • 积分:820
    • 等级:
    • 排名:千里之外
    • 原创:31篇
    • 转载:18篇
    • 译文:1篇
    • 评论:1条
    文章分类