Questions tagged [dropbear]

Dropbear is a software package that provides a Secure Shell-compatible server and client. It is designed as a replacement for standard OpenSSH for environments with low memory and processor resources, such as embedded systems.

Dropbear is a software package written by Matt Johnston that provides a Secure Shell-compatible server and client. It is designed as a replacement for standard OpenSSH for environments with low memory and processor resources, such as embedded systems. It is a core component of OpenWrt and other router distributions.

Related:

,

43 questions
5
votes
1 answer

How to enable SSH on BusyBox without recompiling BusyBox?

I want to enable SSH service on BusyBox server (currently I can connect only via Telnet), so I think , that I need to compile SSH server , and send it to BusyBox router. So my question is - how to create SSH server binary to send it to BusyBox via…
Optimon
  • 723
  • 1
  • 8
  • 17
5
votes
0 answers

Dropbear for Windows

I'm looking for an open source SSH server for Windows. I came across a some servers but they were all closed source. I want to believe that one exists already. I also tried to compile Dropbear for Windows using Cygwin, but that involves some more…
Blondy314
  • 751
  • 9
  • 24
4
votes
2 answers

How to accept 'yes' from shell script "Are you sure you want to continue connecting (yes/no)?" using ssh. Without using StrictHostKeyChecking=no

I'm using ssh command to remotely executing a shell script with -o **StrictHostKeyChecking=no ** option to bypass the authentification: ssh -o StrictHostKeyChecking=no root@$IP '/test-script' However, I'm using a sh shell that does not support the…
DavidKanes
  • 183
  • 1
  • 1
  • 10
4
votes
1 answer

openWRT Dropbear SSH key authentication fails with "unknown algo"

Good day, I'm trying to figure out how to get a user to ssh into openWRT with only a key. I followed these instructions: https://wiki.openwrt.org/oldwiki/dropbearpublickeyauthenticationhowto. In short: On a Linux box: If you haven't already got…
Vissie
  • 174
  • 1
  • 11
2
votes
2 answers

YOCTO - Dropbear denying password

I am working on a Yocto-based Linux. I have Dropbear SSH installed. If debug-tweaks is included in IMAGE-FEATURES, I can correctly login via SSH without password. Now, I want to setup a password-based login. So I removed the debug tweaks and added…
firion
  • 296
  • 3
  • 12
2
votes
2 answers

How to install SSH host-key using Yocto

I'm building my custom distribution for RPi using Yocto. My distro includes ssh server (dropbear, but the question is valid for openssh also) One of the annoying things that I notices is that every time I flash a newly-built image to the board, I…
Avi Shukron
  • 6,088
  • 8
  • 50
  • 84
2
votes
1 answer

Dropbear ssh tunneling segfault on Android

I'm an android developer and we are trying to make a ssh tunneling between Android device and Linux Host. I'm using dropbear for this solution. Here is my steps: 1) I'm connecting to my host via dbclient with 0 port dbclient -i "$RSA_KEY" -f -N -R…
1
vote
1 answer

Linux: who is listening on tcp port 22?

I have a AST2600 evb board. After power on (w/ RJ45 connected), it boots into a OpenBMC kernel. From serial port, using ip command I can obtain its IP address. From my laptop, I can ssh into the board using account root/0penBmc: bruin@gen81:/$ ssh…
bruin
  • 979
  • 1
  • 10
  • 30
1
vote
2 answers

How to ssh at computer inside home network

I am running a home network with a ddwrt installed router. I can ssh into the router from homenetwork, i can ssh in the pc from inside the homenetwork, i can ssh into the router from outside the home network ( static public ip). Now i want to ssh in…
1
vote
2 answers

Cannot SSH into QEMU virtual machine running dropbear sshd

I have set up a QEMU virtual machine emulating the vexpress-a9 machine. I've used buildroot to create the initrd system and I've used the codesourcery cross-compiler that buildroot downloads as part of it's setup to compile the Linux Kernel. This is…
AjB
  • 890
  • 13
  • 34
1
vote
1 answer

Dropbear - cannot SSH when user's shell is redirected

I am running Linux on an embedded system with Buildroot+Dropbear. I am using systemd for init, if that matters. Logging in via SSH works properly for root, but not as a regular user (gives "Permission denied, please try again."). The user's shell…
bjornruffians
  • 671
  • 5
  • 16
1
vote
0 answers

What do I need to compile a program against a much older Linux kernel on a different architecture?

Background I'm trying to restore an old DNS/DHCP appliance machine. It's from around 2009 and runs what appears to be a customized Linux 2.6 kernel. The copy of OpenSSH installed on the appliance appears to have been modified to only allow a…
Mikey T.K.
  • 1,112
  • 18
  • 43
1
vote
0 answers

Execute command usage fails

*** Settings *** Documentation Transfer a file from OCU to PC Library SSHLibrary Suite Setup Open Connection and Login With Public Key Suite Teardown Close All Connections *** Variables *** ${REMOTE…
1
vote
1 answer

SSH and exec channels with python shell

We have implemented a python shell for our hardware devices that solely consists of the python cmd module on embedded linux. Our (non-root) user's shell is set to the path of this python shell in /etc/passwd and /etc/shadow. Code example…
Kevin Hirst
  • 876
  • 8
  • 17
1
vote
0 answers

How to specify GNU / Linux version compiling dropbear

I have a compiled binary of Dropbear. When I do file dbclient I get the following : dbclient: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), stripped When I am trying to compile it on my own (very…
yhcowboy
  • 585
  • 1
  • 5
  • 13
1
2 3