Questions tagged [dropbear]

24 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
  • 9
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
5
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
  • 535
  • 3
  • 12
  • 27
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

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
  • 21
  • 1
  • 5
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
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

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
  • 239
  • 1
  • 11
1
vote
0 answers

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
  • 111
  • 3
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
vote
1 answer

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/a-folder user@host:/tmp According to my search, it…
ToYonos
  • 21
  • 8
1
vote
1 answer

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-forwarding and I have configured my browser…
Paul
  • 11
  • 1
  • 2
1
2