2000字范文,分享全网优秀范文,学习好帮手!
2000字范文 > OpenSSH key pem和SSH2 key格式互转

OpenSSH key pem和SSH2 key格式互转

时间:2018-11-30 02:43:42

相关推荐

OpenSSH key pem和SSH2 key格式互转

“RFC4716”(RFC4716/SSH2publicorprivatekey)

“PKCS8”(PEMPKCS8publickey)

ubuntu:

ssh-keygen-e-f~/.ssh/id_rsa.pub>~/.ssh/id_rsa_pub.pem

ssh-keygen-f~/.ssh/id_rsa_pub.pem -i -mRFC4716>~/.ssh/id_rsa.pub

windows:

1)UsetheputtyGen

2)Runputtygenandclickgenerate

3)Runyourmouseroundtheblankpartforawhile.

4)Enterakeyphrase(andrepeat)

5)Clicksavepublickeyandsaveit<path>\publickey

6)Clicksaveprivatekeyandsaveit<path>\privatekey(extensiongetsaddedautomatically,thisisnogoodforspoon,butgoodforputty)

7)ClickConversions->ExportOpenSSHkeyandsaveas<path>\sshkey.pem

8)InthemainwindowisyoukeyforpastingintoOpenSSHauthorized_keysfile.Copythisinitsentiretyandpastitintoyourubuntumachinein/home/<user>/.ssh/authorized_keysfile.

9)Ok,youcancloseputtykeygenerator.

10)Utilizethe.peminthetool.

转自太极客

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。