Created
August 19, 2025 09:31
-
-
Save stephdl/de31147e2225969599cb249d7faeeca4 to your computer and use it in GitHub Desktop.
How to set up password-less SSH login for a Dropbear client
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| How to set up password-less SSH login for a Dropbear client | |
| Caveat Lector: This blog post was published 8 years ago. Depending on the content, it may no longer be applicable or relevant. | |
| Dropbear is a replacement for OpenSSH for environments with low memory and processor resources. With OpenSSH, you can use the well-known ssh-keyen command to create a private/public keypair for the client. In Dropbear, it is a bit different. Here are the commands on the client: | |
| mkdir ~/.ssh | |
| chmod 700 ~/.ssh/ | |
| dropbearkey -t rsa -f ~/.ssh/id_dropbear | |
| Both private and public keys will be in ~/.ssh/id_dropbear, however, in a binary format. | |
| To output the public key to stdout in the usual SSH-compatible format, use: | |
| dropbearkey -y -f ~/.ssh/id_dropbear |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment