Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ssh-keygen [2015/10/30 15:12] steve created |
ssh-keygen [2019/05/08 21:56] (current) steve |
||
---|---|---|---|
Line 2: | Line 2: | ||
* [[OpenSSH]] | * [[OpenSSH]] | ||
+ | * [[ssh]] | ||
** Re-create the public key from a private key ** | ** Re-create the public key from a private key ** | ||
Line 7: | Line 8: | ||
<code> | <code> | ||
ssh-keygen -y -f id_rsa > id_rsa.pub | ssh-keygen -y -f id_rsa > id_rsa.pub | ||
+ | </code> | ||
+ | |||
+ | ** Convert pubkey format ** | ||
+ | |||
+ | Convert from pubkey with ''---- BEGIN SSH2 PUBLIC KEY ---'' to one-line: | ||
+ | |||
+ | <code> | ||
+ | ssh-keygen -i -f beandog_rsa.pub | ||
</code> | </code> |