How to install dropbear SSH server

Dropbear is a Lightweight SSH server. You can use it as openssh server alternative. Dropbear is particularly useful for embedded type Linux systems, such as wireless routers.

I have used this when I have a problem with openssh server, after an apt upgrade, openssh server stopped working. I installed dropbear and made it run on an alternative port, so I can debug openssh server problem without worrying about disconnecting from the server.

To install dropbear on Ubuntu, run

Dropbear SSH configuration

Let’s change SSH port to non default port by editing the file


Replace 22 with your custom port, I will use port 2222


Replace with

That completes the basic dropbear ssh configuration.

Using Dropbear SSH Server

Let’s restart dropbear service with

Verify dropbear is working with command

dropbear ssh server

As you can see dropbear is listening on port 2222. You will be able to login to the server using the custom port


Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *