boards/sim: add dropbear board configuration#19405
Merged
xiaoxiang781216 merged 2 commits intoJul 13, 2026
Merged
Conversation
Add config to use Dropbear in sim environment. Signed-off-by: Felipe Moura <moura.fmo@gmail.com>
simbit18
approved these changes
Jul 11, 2026
linguini1
approved these changes
Jul 11, 2026
acassis
approved these changes
Jul 11, 2026
Contributor
|
@FelipeMdeO please normalize the board config |
Contributor
Author
Hey Alan, the issue is dependence with apache/nuttx-apps#3631. After merge the apps I will request pipeline run again. |
xiaoxiang781216
approved these changes
Jul 12, 2026
linguini1
approved these changes
Jul 12, 2026
Contributor
|
@FelipeMdeO I just merged the other PR from nuttx-apps, please rebase |
Describe how to build and use the Dropbear SSH server configuration on the simulator, including host TAP network setup, user creation and the volatile /tmp host key/passwd caveat. Signed-off-by: Felipe Moura <moura.fmo@gmail.com>
803652e to
6e294e0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a
sim:dropbearboard configuration. Using this environment speedup development.Depends on apache/nuttx-apps#3631:
NETUTILS_DROPBEARcurrently requires a hardware TRNG (ARCH_HAVE_RNG+DEV_RANDOM), which the simulator cannot satisfy — without that change the option is silently dropped at configure time. The logs below were produced with that PR applied.Impact
dropbearsubsection inDocumentation/platforms/sim/sim/boards/sim/index.rst.Testing
Host: Ubuntu 24.04 (aarch64), GCC 13.3.0
Target: NuttX simulator,
sim:dropbear(with apache/nuttx-apps#3631applied):
Boot, with Dropbear started automatically by NSH and the preset address,
then create a user:
Connect from the host into an interactive NSH session over SSH: