If you’ve ever heard of the SSH replacement Dropbear, chances are you’re going to want to install it.
Oh, and if you’re just looking to install Dropbear without any aforementioned, then just skip to the bottom of this post.
Why Install Dropbear?
The default SSH software on almost all Linux distributions is OpenSSH, and while there is nothing directly wrong with OpenSSH, some environments aren’t built for it.
For example: Let’s say you have an embedded system with very very limited resources, and you just can’t afford to allow OpenSSH to take up a few MB of your precious RAM.
Plus, OpenSSH wasn’t really designed and created to operate off an embedded system.
This is where Dropbear comes in!
Dropbear was designed to completely replace OpenSSH, and while doing so it is meant to allocate very little of your precious system’s resources.
How to Install Dropbear?
Notice: Don’t close your existing SSH connection to the server, until you have verified that Dropbear has been successfully installed, and configured.
Now it’s time to finally install the glorious Dropbear.
First, we’re going to want to direct
apt to do this for us, we won’t be installing from the source code in this post due to the adjective “Simply,” in the title. Anyways, to direct
apt to doing so, just run:
sudo apt install dropbear
Next, we‘re going to want to configure Dropbear to work to our linkings’. To do so, go ahead and open
/etc/default/dropbear with your favorite editor.
Then, go ahead and change the line that says
Now, it’s time to stop the OpenSSH server, and start up the Dropbear SSH server. We can do this by running the following:
sudo service ssh stop
Lastly, we can go ahead and start the Dropbear SSH server, to do so, simply run:
sudo service dropbear start
After running the aforementioned, you should now have successfully configured
dropbear SSH server!
Looking for Free Credit Towards a VPS?
If you happen to be looking for a little free credit to try out a clouds computing company, I have good news for you!
If you signup to DigitalOcean using this link, you’ll get a free $50.00 credit that you can use on DigitalOcean for anything you want. Plus, once you spend $25.00, I’ll get $25.00, it’s really just a win-win for everyone.
Looking for an Embedded System?
If you’re not quite looking to spin up a server, but you’re rather looking to purchase your very own embedded system, I recommend purchasing a Raspberry-pi!
They’re very affordable (starting at $35.00), and can be found on Amazon with very good reviews.