summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnout Vandecappelle <arnout@mind.be>2016-01-09 02:15:53 +0100
committerPeter Korsgaard <peter@korsgaard.com>2016-01-12 23:35:08 +0100
commite146d82b96b471886f00c64a2661df9d4ba0d8c5 (patch)
tree4ff92990bccb376dfb4d41cd91abae64a5ab399c
parent0420114855f36aa6c38866878ce303b0ed95d887 (diff)
downloadbuildroot-e146d82b96b471886f00c64a2661df9d4ba0d8c5.tar.gz
buildroot-e146d82b96b471886f00c64a2661df9d4ba0d8c5.zip
dropbear: add help text about key creation
Commit e7d04dd2d replaced /etc/dropbear with a symlink to /var/run and updated the start scripts to replace it with a real directory, so the keys would be persistent. However, it turns out that this is pretty confusing even for expert users, who don't know how to make the keys really persistent now. Update the help text explaining what the issue is, and telling the user to replace the /etc/dropbear symlink with a symlink to a persistent directory. Also mention the possiblity of unionfs. Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/dropbear/Config.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/dropbear/Config.in b/package/dropbear/Config.in
index c14c6544c3..d92361fa39 100644
--- a/package/dropbear/Config.in
+++ b/package/dropbear/Config.in
@@ -4,6 +4,15 @@ config BR2_PACKAGE_DROPBEAR
help
A small SSH 2 server designed for small memory environments.
+ Note that dropbear requires a per-device unique host key. The
+ key will be generated when dropbear starts, but it is not
+ persistent over reboot (if you have a read-only rootfs) or
+ upgrade (if you have a read-write rootfs). To make the key
+ persistent, replace /etc/dropbear with a symlink to a
+ directory on a persistent, writeable filesystem.
+ Alternatively, mount a persistent unionfs over your root
+ filesystem.
+
http://matt.ucc.asn.au/dropbear/dropbear.html
if BR2_PACKAGE_DROPBEAR
OpenPOWER on IntegriCloud