Advertisement
pez098

puttygen

Mar 20th, 2019
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. Create keys as follows:
  2. fbsdbox>ssh-keygen -t rsa -b 2048 -f xxxx_notices_key -o -C xxxx_NOTICES
  3.  
  4. -t rsa type rsa
  5. -b 2048 key length 2048
  6. -f xxxx_notices_key filename xxxx_notices_key
  7. -o save private keys using new OpenSSH format instead of pem
  8. -C xxxx_NOTICES comment
  9.  
  10. Then you will need to change the password using ssh-keygen to convert it to a format puttygen will use, then use puttygen to convert it for pageant.
  11.  
  12. fbsdbox>ssh-keygen -p -f extcmpny_company_key
  13. Enter old passphrase:
  14. Key has comment 'extcmpny-company-key'
  15. Enter new passphrase (empty for no passphrase):
  16. Enter same passphrase again:
  17. Your identification has been saved with the new passphrase.
  18.  
  19. fbsdbox>puttygen extcmpny_company_key -o extcmpny_company_key_for_putty.ppk
  20. Enter passphrase to load key:
  21. fbsdbox>ls
  22. extcmpny_company_key extcmpny_company_key_for_putty.ppk
  23. extcmpny_company_key.pub
  24.  
  25.  
  26. To show the fingerprint and some other information:
  27.  
  28. fbsdbox>ssh-keygen -l -f xxxx_notices_key.pub
  29. 2048 SHA256:+Gy/PLS/g5IpvyDteK8oxpyNI8h4bf5fXsyi3itkdII xxxx_NOTICES (RSA)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement