mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 09:42:07 +02:00
dropbearkey: add page (#9945)
* dropbearkey: add page * Apply suggestions from code review Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
parent
128506d40e
commit
b2d0ab3fc5
1 changed files with 20 additions and 0 deletions
20
pages/linux/dropbearkey.md
Normal file
20
pages/linux/dropbearkey.md
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# 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}}`
|
Loading…
Add table
Reference in a new issue