Questions tagged [dropbear]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
23 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 ...
user avatar
0 votes
1 answer
37 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 ...
user avatar
  • 101
0 votes
0 answers
33 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 ...
user avatar
0 votes
1 answer
66 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
user avatar
  • 1
0 votes
1 answer
60 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 ...
user avatar
  • 101
0 votes
1 answer
973 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 ...
user avatar
0 votes
1 answer
752 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 ...
user avatar
  • 121
9 votes
4 answers
3k 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 ...
user avatar
  • 361
0 votes
1 answer
53 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 ...
user avatar
  • 101
2 votes
1 answer
1k 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 ...
user avatar
1 vote
1 answer
1k 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 root@192.168.122.58 ...
user avatar
2 votes
1 answer
2k 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 ...
user avatar
0 votes
1 answer
186 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: ...
user avatar
  • 3
2 votes
1 answer
4k 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% ...
user avatar
  • 41
0 votes
1 answer
94 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 ...
user avatar
0 votes
1 answer
221 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 ...
user avatar
5 votes
4 answers
3k 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 ...
user avatar
3 votes
1 answer
2k 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 ...
user avatar
  • 131
1 vote
1 answer
3k 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 ...
user avatar
1 vote
1 answer
654 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 #...
user avatar
  • 111
0 votes
1 answer
976 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 ...
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 ...
user avatar
  • 133
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, ...
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/...
user avatar
  • 21
6 votes
4 answers
36k 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 ...
user avatar
  • 565
2 votes
1 answer
14k 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 /...
user avatar
  • 23
6 votes
1 answer
6k 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 ...
user avatar
  • 163
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-...
user avatar
  • 11
1 vote
1 answer
3k 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?
user avatar
  • 439