sh 创建RSA密钥对并将.pub转换为pem

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh 创建RSA密钥对并将.pub转换为pem相关的知识,希望对你有一定的参考价值。

# Makes a 4096 key pair
ssh-keygen -t rsa -b 4096  -f ./id_rsa

# Converts .pub to .pem
ssh-keygen -f id_rsa.pub -m 'PEM' -e > id_rsa.pem

以上是关于sh 创建RSA密钥对并将.pub转换为pem的主要内容,如果未能解决你的问题,请参考以下文章