dropbearconvert.1 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. .TH dropbearconvert 1
  2. .SH NAME
  3. dropbearconvert \- convert between Dropbear and OpenSSH private key formats
  4. .SH SYNOPSIS
  5. .B dropbearconvert
  6. .I input_type
  7. .I output_type
  8. .I input_file
  9. .I output_file
  10. .SH DESCRIPTION
  11. .B Dropbear
  12. and
  13. .B OpenSSH
  14. SSH implementations have different private key formats.
  15. .B dropbearconvert
  16. can convert between the two.
  17. .P
  18. Dropbear uses the same SSH public key format as OpenSSH, it can be extracted
  19. from a private key by using
  20. .B dropbearkey \-y
  21. .P
  22. Encrypted private keys are not supported, use ssh-keygen(1) to decrypt them
  23. first.
  24. .SH ARGUMENTS
  25. .TP
  26. .I input_type
  27. Either
  28. .I dropbear
  29. or
  30. .I openssh
  31. .TP
  32. .I output_type
  33. Either
  34. .I dropbear
  35. or
  36. .I openssh
  37. .TP
  38. .I input_file
  39. An existing Dropbear or OpenSSH private key file
  40. .TP
  41. .I output_file
  42. The path to write the converted private key file. For client authentication ~/.ssh/id_dropbear is loaded by default
  43. .SH SUPPORTED FORMATS
  44. .B dropbearconvert
  45. can read OpenSSH format files, and older PEM format files (
  46. .B ssh-keygen
  47. .I -m PEM
  48. ).
  49. .B dropbearconvert
  50. will write OpenSSH format files, usable with OpenSSH 6.5 and later.
  51. Reading OpenSSH format DSS files or PKCS8 files is not currently supported.
  52. .SH EXAMPLE
  53. # dropbearconvert openssh dropbear ~/.ssh/id_rsa ~/.ssh/id_dropbear
  54. .SH AUTHOR
  55. Matt Johnston (matt@ucc.asn.au).
  56. .SH SEE ALSO
  57. dropbearkey(1), ssh-keygen(1)
  58. .P
  59. https://matt.ucc.asn.au/dropbear/dropbear.html