Questions tagged [dropbear]

48 questions
9
votes
2 answers

Disable SSH password authentication on specific interface

I have an OpenWrt router, I want to disable password authentication on SSH, so that one can only authenticate with keys. This is easily achieved by following the guide in the documentation, however, I want to only disable password authentication on…
Hegla79
  • 93
  • 1
  • 4
7
votes
7 answers

dropbear ssh server won't let me connect

I'm trying to gain ssh access to my router. Currently I only have telnet access and I installed dropbear and is running (using opkg on a usb drive connected to the router). From the beginning, what I did was generate a private key and decrypt it…
Chazy Chaz
  • 178
  • 1
  • 1
  • 5
7
votes
1 answer

Are dropbear and OpenSSH host keys compatible?

The title basically says it all. But mind: host key, not the login key. And if they're not compatible out of the box, is there a way to convert between them - and what would be the steps in that case? Rationale: it would be nice to be able to bring…
0xC0000022L
  • 16,189
  • 24
  • 102
  • 168
6
votes
3 answers

Luks, ssh unlock, Strange behaviour, Invalid authorized_keys file

I don't know why, but I can't manage to follow these instructions on my debian stable. After installing dropbear and busybox, I tried to run initramfs -u. I got here a strange warning: # update-initramfs -u update-initramfs: Generating…
tobiasBora
  • 3,376
  • 2
  • 23
  • 34
5
votes
1 answer

How to verify fingerprint of Dropbear RSA host key?

When I connect to my Dropbear SSH server for the first time, I get the following message: me@laptop:~$ ssh me@server The authenticity of host 'server' can't be established. RSA key fingerprint is…
finefoot
  • 2,940
  • 2
  • 21
  • 41
5
votes
2 answers

Mount a filesystem using sshfs using the Dropbear server on Yocto firmware

I built a firmware for an embedded board using Yocto. ssh server Dropbear seems to be up and running and working properly. I can login with the root user without a password. Nevertheless, I cannot mount the filesystem from an Ubuntu desktop using…
Luca Carlon
  • 429
  • 1
  • 7
  • 16
5
votes
1 answer

Dropbear immediately drops connection on DD-WRT

I have a home wireless router running DD-WRT. I am unable to SSH into the router (Dropbear) even after restoring default settings and reinstalling the DD-WRT firmware. So I tried to SSH into the router with -vvv and this is what I got: OpenSSH_6.7p1…
170730350
  • 181
  • 1
  • 5
4
votes
1 answer

encrypt private keys for dropbear ssh-access

I'd like to use dropbear as an alternative, minimal ssh-server and -client. dropbear allows the use of private-public-keys for ssh-access, although the keys are not identical to the ones used by openssh and have to be converted using the…
n0542344
  • 376
  • 1
  • 15
4
votes
1 answer

initramfs, LUKS and dm_mod can't boot after upgrade

My Raspberry Pi (which is 10,000 km away from me right now) works as follows: It is running Raspbian (July 2016's version) The SD card contains /boot An encrypted hard disk drive (using LUKS cryptsetup) contains / When the Pi boots, I can unlock…
Romain Pellerin
  • 165
  • 2
  • 7
4
votes
1 answer

Dropbear terminates before LUKS password prompt on Debian Jessie

I'm trying to use dropbear as a ssh server to unlock an encrypted partition which was created during Debian 8.2 setup. It boots to the password prompt (and unlocks if correct password is typed) but before the prompt appears, dropbear exits with…
cydo
  • 41
  • 1
4
votes
1 answer

How to specify ConnectTimeout for dropbear?

I'm trying to use the Dropbear SSH and in the previous version of SSH I used, you could add the argument -o ConnectTimeout=10 to cause an attempted connection to timeout if unsuccessful after ten seconds. Is there a way to programmatically specify a…
WilliamKF
  • 183
  • 1
  • 2
  • 6
3
votes
0 answers

How to monitor users who use dropbear ssh tunneling?

With OpenSSH in my Debian server, I can see who is using ssh tunneling using either nethogs or top command. When I change from openssh to dropbear I can't monitor user again. In nethogs or top command it only shows the root user. How to see if other…
Yusufmm
  • 394
  • 1
  • 3
  • 11
3
votes
1 answer

Unlock LUKS device remotely - ipconfig: no devices to configure

I am trying to unlock my root encrypted Debian Buster on an acepc T11. I installed dropbear, added DEVICE=enp1s0 IP=:::::enp1s0:dhcp to /etc/initramfs-tools/initramfs.conf and executed update-initramfs -k all -u. When the initramfs is loaded, I get…
staxyz
  • 609
  • 6
  • 15
3
votes
2 answers

How to run a script before switch_root in initramfs?

I'm starting dropbear ssh server in initramfs to be able to unlock a crypted partition over SSH*. In Debian Jessie, it was all fine but in Buster, dropbear doesn't seem to stop after switch_root, which prevents OpenBSD ssh server from starting up.…
ceremcem
  • 2,231
  • 1
  • 23
  • 53
3
votes
2 answers

How to use openSSH for disc encryption at boot time (OpenSSH vs. Dropbear)

Basic setup: - Operating System: CentOS 7 (64 bit) - Grub 2 - separate boot partition with ext4 - luks encryption (aes-xts-plain64:sha512) on two disc partitions which both need to be unlocked by password at boot time - after being unlocked both…
1
2 3 4