Difference between revisions of "Public key cryptography"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 8: Line 8:
 
* <code> [[ssh-keygen]] -l -f /etc/ssh/ssh_host_XXXXkey.pub</code>
 
* <code> [[ssh-keygen]] -l -f /etc/ssh/ssh_host_XXXXkey.pub</code>
  
 +
* Generate public key from [[private key]]:
 +
<code>ssh-keygen -y -f ~/.ssh/id_rsa > ~./.ssh/id_rsa.pub</code>
  
 
== Related terms ==
 
== Related terms ==

Revision as of 07:57, 9 November 2020

This article is a Draft. Help us to complete it.


Generate a public key from a PEM private key

  • openssl rsa -in mykey.pem -pubout > mykey.pub

Generate fingerpring

ssh-keygen -y -f ~/.ssh/id_rsa > ~./.ssh/id_rsa.pub

Related terms

See also

Advertising: