首页 > 编程知识 正文

生成ssh公钥密钥对,ssh利用公钥登录的基本步骤

时间:2023-05-03 13:22:31 阅读:190583 作者:4302

生成ssh公钥私钥

How to generate a pair of SSH private key and public key pairs?

如何生成一对SSH私钥和公钥对?

On Linux, you can generate one first by

在Linux上 ,您可以先生成一个

$ ssh-keygen -t rsa

By default on Linux, the key pair is stored in `~/.ssh` named `id_rsa` and `id_rsa.pub` for the private and public key.

在Linux上 ,默认情况下,密钥对存储在名为私钥和公钥的名为id_rsa和id_rsa.pub的〜/ .ssh中。

翻译自: https://www.systutorials.com/how-to-generate-a-pair-of-ssh-private-key-and-public-key-pairs/

生成ssh公钥私钥

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。