Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

25
linux/dropbearkey Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# dropbearkey
> Generate SSH keys in Dropbear format.
> More information: <https://manned.org/dropbearkey.1>.
- Generate an SSH key of [t]ype ed25519 and write it to key [f]ile:
`dropbearkey -t {{ed25519}} -f {{path/to/key_file}}`
- Generate an SSH key of [t]ype ecdsa and write it to key [f]ile:
`dropbearkey -t {{ecdsa}} -f {{path/to/key_file}}`
- Generate an SSH key of [t]ype RSA with 4096-bit key [s]ize and write it to key [f]ile:
`dropbearkey -t {{rsa}} -s {{4096}} -f {{path/to/key_file}}`
- Print the private key fingerprint and public key in key [f]ile:
`dropbearkey -y -f {{path/to/key_file}}`