mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
ssh: Add comment about regenerating SSH keys
Closes #1230. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
59c64e7872
commit
b057a57dec
1 file changed
+11
-1
+11
-1
@@ -52,7 +52,17 @@ def parse_arguments():
|
||||
|
||||
|
||||
def subcommand_setup(arguments):
|
||||
"""Setup Open SSH server."""
|
||||
"""Setup Open SSH server.
|
||||
|
||||
Regenerates deleted SSH keys. This is necessary when FreedomBox image is
|
||||
being used. During the image building process the SSH keys are removed and
|
||||
start OpenSSH server fails without the keys.
|
||||
|
||||
If the keys already exist, do nothing. This is necessary when a user
|
||||
installs FreedomBox using an apt package. SSH keys exist and running
|
||||
reconfigure on the openssh-server package does not regenerate them.
|
||||
|
||||
"""
|
||||
action_utils.dpkg_reconfigure('openssh-server', {})
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user