Questions tagged [dropbear]

29 questions
9
votes
4 answers

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 informed me that's because Dropbear is the software server here,…
AhmedWas
  • 361
  • 2
  • 10
6
votes
4 answers

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 there an equivalent to authorized_keys for…
EGr
  • 575
  • 3
  • 12
  • 29
6
votes
1 answer

`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 always worked. When I did that with dropbear on my router, it failed like this: # ssh -NfR 9022:127.0.0.1:22 ssh: Exited: Error resolving…
keks
  • 163
  • 1
  • 4
5
votes
4 answers

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 need SSH (dropbear) in init. I successfully using…
user2638109
  • 153
  • 1
  • 4
3
votes
1 answer

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 reverse, and it seems easy because dropbear does…
TechnoSam
  • 131
  • 3
3
votes
1 answer

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 connection and then, once the server has started,…
n00dl3
  • 133
  • 6
2
votes
1 answer

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 formats key files. I also don’t want them to share…
Daniel Böhmer
  • 259
  • 1
  • 11
2
votes
1 answer

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% correct. Dropbear is being started by…
DhP
  • 41
  • 2
  • 6
2
votes
1 answer

Disable root login for dropbear?

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 /etc/init.d/dropbear (not working too) Dropbear…
June
  • 23
  • 1
  • 1
  • 3
2
votes
1 answer

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 for some custom data To unlock to LUKS-devices at…
t777
  • 131
  • 6
2
votes
1 answer

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 format and saved it to ~/.ssh/ncp_key_dropbear on…
FlexMcMurphy
  • 193
  • 9
1
vote
1 answer

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 but I can not connect to server via SFTP Filezilla…
user546674
1
vote
1 answer

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 unlock the root partition via SSH during boot I…
1
vote
1 answer

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 #PREREQS blah blah mkdir ${DESTDIR}/usr mkdir…
akasummer
  • 111
  • 2
1
vote
1 answer

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, means that sometimes I can connect to sshd. So I…
Younggun Kim
  • 341
  • 1
  • 2
  • 11
1
2