添加283字节
、 2019年4月28日 (日) 15:17
== 已有RSA私钥生成SSH公钥 ==
标签:
<sample>ssh-keygen</sample>
<sample>rsa</sample>
原文[https://my.oschina.net/chaosannals/blog/1518269]
;生成ssh密钥对:
:ssh-keygen -t rsa -f [name]
;根据私钥生成公钥
:ssh-keygen -y -f [private-key-path] > [output-path]