Difference between revisions of "Public key cryptography"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 5: Line 5:
 
* <code>[[openssl]] [[rsa]] -in mykey.pem -pubout > mykey.pub</code>
 
* <code>[[openssl]] [[rsa]] -in mykey.pem -pubout > mykey.pub</code>
  
Generate fingerpring
+
Generate [[fingerpring]]:
 
* <code> [[ssh-keygen]] -l -f /etc/ssh/ssh_host_XXXXkey.pub</code>
 
* <code> [[ssh-keygen]] -l -f /etc/ssh/ssh_host_XXXXkey.pub</code>
  

Revision as of 04:43, 29 August 2021

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

wikipedia:Public key

Generate a public key from a PEM private key

Generate fingerpring:

Generate public key from private key:

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


OpenSSH 7.6 (2017)

  • Refuse keys <1024 bits in length and improve reporting for keys that do not meet this requirement.

Related terms

See also

Advertising: