Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [dropbear]

The tag has no usage guidance.

0
votes
2answers
82 views

What exactly is my public key?

I am trying to use SimpleSSHD (Dropbear) on my Android phone, which creates an SSH Server on the phone. I can connect to the phone with Putty, but I need a single-use password which Dropbear creates. ...
1
vote
1answer
272 views

Not able to limit concurrent ssh sessions

Currently, I am running into an issue with dropbear. I have set the maximum number of concurrent ssh sessions to 10 but I still able to ssh an 11th sessions. Would you please let me know what I am ...
0
votes
2answers
232 views

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, ...
0
votes
1answer
672 views

KDE Dolphin will not connect to DropBear SSH server

I have the Android SimpleSSHD app installed on my phone. From my Arch Linux desktop I can ssh to my phone from the command line. I can also sftp to my phone from the command line. However, KDE ...
3
votes
2answers
4k views

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-...
0
votes
1answer
304 views

Fail2Ban not picking up dropbear auth failures

raspbian Linux [hostname] 4.9.36+ #1015 Thu Jul 6 16:07:57 BST 2017 armv6l GNU/Linux fail2ban is not picking up the dropbear auth failures. This was working for openssh without issues. I went to ...
1
vote
1answer
380 views

SSH to older Linux box using remote port forwarding

I have an old Linux box (version 2.6.12, compiled by a colleague) behind an NAT-enabled router, that I want to access from a remote PC. There's an SSH daemon running on the box, but since there was no ...
0
votes
1answer
387 views

ssh: connect to host raspberry port 22: No route to host

I can't log in into ssh to crypt luks encrypted device with installed dropbear but I can while rpi is decrypted. I'm getting error: ssh: connect to host raspberry port 22: No route to host. While ...
4
votes
2answers
1k views

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 ...
1
vote
1answer
299 views

Cannot get dropbear jail to work - looks like shell immediately exits

I'm attempting to get a chroot jail working with dropbear on an embedded Linux system. I'm using this page as a guide, although I'm having to tailor it slightly for my target. I believe everything ...
5
votes
4answers
7k views

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 ...
2
votes
1answer
1k views

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 ...
1
vote
1answer
216 views

Revert initramfs to an earlier state after setting up Dropbear for early LUKS decryption

I've tried to set up Dropbear and Busybox on my virtualization host running Debian Jessie, so I could unlock the encrypted filesystems from the initramfs, before the actual boot. I've followed this ...
0
votes
0answers
272 views

qemu arm64 image with dropbear running

I set up a ARM64 qemu image with dropbear. I'm trying to ssh in from the host. I used the following command line to start up the guest. #!/bin/bash ~/repos/qemu-2.6.0-rc3/aarch64-softmmu/qemu-system-...
1
vote
1answer
1k views

Kali GNU/Linux Rolling 64-bit - Dropbear CryptSetup Wireless Setup Problem

I would like to ask for help in figuring out how to get the IP-Config program that shows up when attempting to use dropbear from guides such as this question to allow me to use wlan0 instead of eth0 ...
3
votes
2answers
2k views

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 ...
1
vote
1answer
528 views

How to generate SSHFP records with OpenWrt/Dropbear?

How to generate SSHFP records for a Dropbear instance at OpenWrt? I have dropbearconvert and openssh-keygen installed, but nothing works. Always invalid format or similar errors. There are two host ...
2
votes
2answers
1k views

Get rid of abandoned SSH processes

I have a Linux machine running dropbear as its SSH server. I open many SSH sessions from a client towards that machine, meanwhile the sessions are active I pull out the Ethernet cable from the server ...
5
votes
1answer
590 views

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 ...
4
votes
1answer
469 views

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 ...
1
vote
1answer
330 views

Reverse SSH dynamic port allotment error

When I run: ssh -i mycert -R 0:localhost:80 user@myserver.com and run the following on 'myserver.com': curl localhost:dynamicly_assigned_port I get 'ssh:Server send unrequested port, from port ...
3
votes
1answer
2k views

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 ...
2
votes
0answers
2k views

dbclient - login without manually typing password

On my router which runs OpenWRT I need a script which will keep a SSH connection alive mostly all the time (small breaks are OK). As the SSH server which I want to connect to takes care of multiple ...
2
votes
1answer
2k views

How to connect to ssh-server running on embedded linux without /etc/passwd?

After installing ssh server on my remote machine (which runs embedded Linux), I tried to connect to ssh server from host machine but it failed. This is because I could not specify user account when ...
2
votes
1answer
966 views

How to check my account on embedded linux without “/etc/passwd”?

On some embedded linux systems, there is no /etc/passwd file and /etc directory is not writable (which means I cannot set user account and password?). Then what is my (default) account name and ...
1
vote
1answer
1k views

Compiling OpenSSH client or Dropbear for Android

I have an interesting problem. I'd like to use a private SSH key with my Android Terminal Emulator (jackpal.androidterm). I'd like to install the private key in a fairly-secure location and be able ...
6
votes
1answer
9k views

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?...
1
vote
2answers
1k views

Does dropbear take care of hosts.allow and hosts.deny?

I'm running dropbear as SSH daemon on Debian (actually Raspbian). I tried setting # /etc/hosts.allow dropbear:192.168.1.1 # my static ip from which I SSH connect to the device and # /etc/hosts.deny ...
3
votes
2answers
6k views

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 ...
3
votes
0answers
593 views

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 ...