Questions tagged [dropbear]

12 questions
6
votes
1 answer

SSH with Dropbear: "Permission denied (publickey)"

I've create a RSA key pair with ssh-keygen. In /etc/dropbear-initramfs/authorized_keys I have the public key, and on my client machine I have the keypair in the /home//.ssh/ directory. After running update-initramfs -u, I still am not able to…
lasttry
  • 63
4
votes
1 answer

How can I configure the ciphers for Dropbear on DD-WRT?

I've installed the latest DD-WRT build for my router and enabled the SSH daemon. The daemon listens to the world on a high port and only accepts key authentication, which is a good start. But ssh-audit reports a number of failures and warnings in…
a paid nerd
  • 3,481
2
votes
1 answer

Other ways to login and decrypt LUKS volumen when dropbear-initramfs is installed

I'm new to this site and after searching for a couple of hours already, I couldn't find a similar topic or figure out a solution, so I'm going to ask here. I have setup a new remote server with Ubuntu 22.04, LUKS encrypted SSD volume,…
2
votes
2 answers

Paswordless public key-based SSH login on router with Asus Merlin firmware

I'm trying to enable passwordless SSH login on my ASUS RT-AC68U home router which runs version 384.4_2 of Asuswrt-Merlin firmware (the most recent one at the time of posting this). Having read many posts and howtos (including this one), I still…
noseratio
  • 2,963
1
vote
1 answer

Dropbear agent key is visible in ssh connection but fail to fetch them with ssh_fetch_identitylist: agent refused operation

I observe some weird behaviour with regard to use of forwarded keys. I access my router (OpenWRT 22.03) over SSH enabling key forwarding: ssh -A root@192.168.xx.yy -p 2222 The socket for agent connection is successfully created and has proper…
1
vote
0 answers

dropbear local port forwarding: "channel 2: open failed: connect failed:"

I've got dropbear v2019.78 running on a custom embedded linux 2.6.28.10, on an ARM9 And, I'm trying to setup local port forwarding from my Ubuntu 16.04 desktop (using telnet just for testing): ssh -g -N -l root -L 2222:myarm9.com:23 root@myarm9.com…
0
votes
0 answers

MobaXterm ssh password paste not working

I need some help with MobaXterm. I would like to unlock my LUKS crypted disks on my server with dropbear-initramfs. With the normal PuTTy Client I can connect to the server paste my password by a click on my right mouse button, press enter and the…
reeal
  • 1
0
votes
1 answer

DropbearSSH - ssh client says: Authentication succeeded (public key) but connection closed by remote host

Question How to setup password-less (key-based) ssh from Ubuntu16.04 client to Dropbear SSH server? My private key is not passphrase-protected. I am unable to ssh from Ubuntu16.04 to DropbearSSH with key-based authentication but I am able to do it…
0
votes
1 answer

OpenWRT dropbear - how to require BOTH key AND password for login?

I've just put OpenWRT on a Wi-Fi router I have and I'm setting it up. For reasons beyond my control, I've got a mandate to use multi-factor auth for all admin functions. Unfortunately, from what I've found so far, no one's implemented TOTP or…
0
votes
1 answer

Dropbear SSH server is claiming the Debian user is locked (when it's not?)

Having problem logging into a Debian (stable-slim) docker trough SSH. Dropbear is started (using supervisord or manually) with: dropbear -E -B -m -F -p 2222 -r /home/warbandserver/.config/dropbear/dropbear_rsa_host_key -c…
DhP
  • 263
0
votes
1 answer

EOFError when transferring a file to dropbear with paramiko

I want to transfer a file to a dropbear ssh server with paramiko. I use this file (ssh_own.py): #!/usr/bin/python3.6 import paramiko import paramiko from paramiko import client class ssh: client = None def __init__(self, address,…
StrawHat
  • 101
0
votes
1 answer

Why can't I log into my dropbear VirtualBox with ssh? "ssh_exchange_identification: read: Connection reset by peer" or "Permission denied"

I have a router set up in VirtualBox. I can access it from the console, but it doesn't have a scroll buffer and I can't select with the mouse. I'm trying to ssh into it as root. It uses dropbear. Output from ssh root@192.168.1.1 -vvv -o…
Chloe
  • 6,196