Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes and improvements #27

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions initramfs/init
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,9 @@ gnubee_boot(){
udhcpd_config ethblack 192.168.10
udhcpd /udhcpd.conf
fi
if [ ! -s /etc/dropbear/dropbear_ecdsa_host_key ]; then
# build host didn't have dropbear, so make a new key on each boot
dropbearkey -t ecdsa -f /etc/dropbear/dropbear_ecdsa_host_key
fi
dropbear

# -R to generate new host keys on each boot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this comment accurate ?

Reading the man page @ https://manpages.org/dropbear/8
I'm not sure I can tell if it'll only be generating keys if they are absent or if it will (re-)generate keys at each invokation.

I've not tested, sorry, just asking while looking at your PR...

dropbear -R

run_shell /dev/ttyS0
fi
Expand Down