Questions tagged [dropbear]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
10 votes
4 answers
6k views

How can I know if the current running SSH server is OpenSSH or Dropbear?

If I go inside the file /etc/ssh/ssh_config, I can see "$OpenBSD" at the top of file. However, if I change the default port to a different value, it doesn't seem to work. A colleague ...
AhmedWas's user avatar
  • 373
9 votes
5 answers
50k views

Add authentication keys to dropbear ssh?

For ssh I usually add keys to /etc/ssh/keys-root/authorized_keys so that I can log in without entering a password. I recently discovered a few systems that use dropbear ssh instead of ssh/openssh. Is ...
EGr's user avatar
  • 629
6 votes
1 answer
7k views

`ssh -NfR` equivalent with dropbear

I want to open a reverse tunnel in background. When using OpenSSH ssh -NfR 9022:127.0.0.1:22 <target> always worked. When I did that with dropbear on my router, it failed like this: # ssh -NfR ...
keks's user avatar
  • 163
6 votes
1 answer
2k views

How to unlock multiple luks-devices using dropbear-initramfs

My system setup is as following: One single SSD with LUKS and LVM (and of course an unencrypted boot partition). The debian system is installed there. Two HDDs assembled as RAID0 with LUKS and LVM ...
t777's user avatar
  • 221
5 votes
4 answers
4k views

Ubuntu full disc encryption on Hetzner Cloud adding add static route in initramfs

I try to setup Ubuntu with full disc encryption on top of Hetzner Cloud. I got everything to work except the network connection in initramfs. Thanks to the UI console its possible to unlock, but I ...
user2638109's user avatar
3 votes
1 answer
2k views

Does Dropbear know what a ~/.ssh/config file is?

I want to ssh from one host (OpenWrt running Dropbear) to another host on the same LAN that is running open-ssh server and client. I converted the private open-ssh key of the other host to dropbear ...
FlexMcMurphy's user avatar
3 votes
1 answer
2k views

Dropbear+OpenSSH: share keys

I have set an encrypted LVM partition on my personnal server (Debian Jessie). So everytime I need to reboot it, I have to connect to dropbear which is installed in initramfs, unlock the disk, close ...
n00dl3's user avatar
  • 133
3 votes
1 answer
6k views

Unable to ssh into running dropbear sshd. "Bad password attempt" ...But password is correct

For some reason, a running dropbear sshd i've got going in a Docker container is telling me Bad password attempt , even though i've doublechecked multiple times that both username and password is 100% ...
DhP's user avatar
  • 161
3 votes
1 answer
4k views

How to set up authorized keys for dropbear local to openssh remote

I have a local machine running dropbear and I want to connect to a remote host running openssh without having to type the password every time. I have found lots of documentation on how to do the ...
TechnoSam's user avatar
  • 131
2 votes
1 answer
3k views

How do I get logs from my dropbear-initramfs SSH host?

I use dropbear-initramfs (like this) to decrypt the root drive on my Ubuntu 20.04.3 headless server. Recently the server was abruptly powered off (power went out I think?) and now the dropbear SSH ...
Kyle's user avatar
  • 151
2 votes
2 answers
4k views

cryproot-unlock with dropbear: Timeout while waiting for askpass

I installed Debian 9 on a VPS and configured the root partition to be encrypted. However, due to the installer giving me trouble when attempting to encrypt, I had to do this manually. To be able to ...
Julian Eckhardt's user avatar
2 votes
1 answer
17k views

Disable root login for dropbear? [closed]

Linux noob here. How can I disable root login for dropbear? What I've done so far adding DROPBEAR_EXTRA_ARGS="-w -g" into /etc/default/dropbear (not working) adding DROPBEAR_EXTRA_ARGS="-w -g" into /...
June's user avatar
  • 23
2 votes
1 answer
3k views

Display public keys + fingerprints of Dropbear SSH server

While I normally use OpenSSH I have Dropbear installed on a Debian system to provide a small SSH server for unlocking disk encryption during initramfs boot phase. Dropbear and OpenSSH have different ...
Daniel Böhmer's user avatar
1 vote
1 answer
4k views

Dropbear sshd - Disabling root login

I have Dropbear sshd running instead of openssh. Looks like there is /etc/ssh/ config dir full of files but they do not seem to be used by dropbear. I wanted to disable root login, anyone know how?
user80666's user avatar
  • 459
1 vote
1 answer
6k views

ssh + tinyproxy: poor performance

I am currently in China and I would like to still visit some blocked websites (facebook, youtube). I have VPS in the USA and I have installed tinyproxy on it. I log in on my VPS with SSH port-...
Paul's user avatar
  • 11
1 vote
1 answer
2k views

Filezilla fail to connect Dropbear SSH server _ unexpected end-of-file

I install dropbear SSH server in Alpine OS dropbear config : DROPBEAR_OPTS=" -p 22 -K 9" ( p = port , K = keep-alive in seconds) now I can connect to SSH terminal in KVM ssh [email protected] ...
user avatar
1 vote
1 answer
2k views

Dropbear equivalent to rsync with ssh proxy command

I am trying to guess the dropbear equivalent to this regular rsync command (using ssh with a proxy) rsync -avz --delete -e "ssh -o 'ProxyCommand ssh user@proxyhost exec nc %h %p 2>/dev/null'" /tmp/...
ToYonos's user avatar
  • 21
1 vote
1 answer
750 views

Can't send password to scp prompt during boot

I have Ubuntu OS with encrypted partition. During boot, I want to download keyfile from remote server using scp and use it to decrypt partition. What I did: /etc/initramfs-tools/hooks/myhook.sh #...
akasummer's user avatar
  • 111
1 vote
1 answer
1k views

Having trouble to connect sshd on CoreOS sometimes

I have 12 node of bare-metal CoreOS cluster (on SuperMicro Blade). Every nodes was installed with same image and cloud-config. (Stable 717.3.0) The problem is that I fail to connect sshd frequently, ...
Younggun Kim's user avatar
0 votes
1 answer
133 views

Reroute IP to different IP, but there is a catch

This is not the normal reroute IP through iptables but it is a bit more complicated. I am using a very stripped down version of Busybox. The version has dropbear installed only a few limitations. It ...
Sir Siles's user avatar
0 votes
1 answer
407 views

SSH Host key checking to Drobear - accept a fingerprint for one time

I installed a remote and headless ubuntu box with full disk encryption and dropbear to unlock it by ssh. I accepted the "standard" host key in my configuration - but now, on every reboot, I ...
philipp's user avatar
  • 101
0 votes
1 answer
1k views

CentOS 7 and Dropbear

I have search this issue on serverfault.com but can't find anything. On my Server I habe installed an crypted LVM CentOS 7 with Dropbear. On boot I can decrypt the hdd via direct keyboard input. But ...
Pascal B's user avatar
0 votes
0 answers
156 views

Dropbear dropping SSH connection immediately after a couple of seconds

tl;dr We have an embedded linux (PTXdist) device connected to a 4G router. If we try to SSH to that device over the 4G link, the connection drops immediately after showing a shell prompt. More detail:...
Paul LeBeau's user avatar
0 votes
0 answers
90 views

How do I measure the bandwidth of SSH tunnel VPN?

I use dropbear for SSH tunneling, and I use this method as a VPN. Is there a way to find how much bandwidth that I have used per SSH account?
Ron's user avatar
  • 120
0 votes
0 answers
2k views

Unable to connect to dropbear SSH server to remotely unlock LUKS encrypted root partition on Arch Linux cloud server

I intended to setup encrypted LUKS arch linux system on a cloud server. I installed the latest arch linux version onto LUKS-encrypted partition, configured the initramfs (installed build hooks), then ...
user65412's user avatar
0 votes
1 answer
836 views

Disable SSH BusyBox

I'm connecting to a BusyBox and I'm trying to disable the ssh dropbear service. Can someone help me for closing the port access or stop the service. The SO is Linux with kernel 2.6.32.33 Thankyou
Lluis's user avatar
  • 1
0 votes
1 answer
3k views

Connecting to Dropbear SSH using keyfile not possible (Permission denied (publickey)) [closed]

I'm running my home server (Ubuntu 20.04 LTS) with encrypted root and try to use dropbear in initramfs to be able to unlock it remotely during boot. To setup the remote unlocking ability I was ...
sandman85's user avatar
0 votes
1 answer
112 views

ssh to same host from 2 different clients, not same list of authentication methods?

I have a usb gadget exposing itself as network card, and allowing to ssh to it. From my laptop I can authenticate using password method: $ ssh -v -v -v -o PreferredAuthentications=password -o ...
yves's user avatar
  • 101
0 votes
1 answer
367 views

Block dropbear SSH daemon for incoming connections

I have a linux device with a dropbear running on it. I want to use the device as SSH client only, and not allow any SSH connections to it. In order to do it, I added this line to the config file: ...
Yuval's user avatar
  • 3
0 votes
1 answer
263 views

OpenSSH/Dropbear using MYSQL Database - Linux [ubuntu]

Is it possible to use MYSQL to store user accounts and use it to authenticate with your SSH (OpenSSH/Dropbear) and is it possible to use remote mysql database? Basically, I want to use MYSQL as user ...
James Roi Dela Cruz's user avatar
-1 votes
1 answer
1k views

Dropbear has stopped accepting my SSH key

I have two Raspberry Pis, both running Raspbian Buster, both set up with full disk encryption, with dropbear (version 2018.76-5) to support remote unlocking of the disk encryption. This has been ...
Mark Raymond's user avatar