1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-23 18:57:23 +01:00

Updated key setup

- made key lower in bits, but stronger (using -a option),
- made ssh-keygen run in background using nohup,
- added independent key file, as id_rsa_miab,
- added ssh-options to all duplicity calls to use the id_rsa_miab keyfile,
- changed path to the public key display

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>
This commit is contained in:
Bernard `Guyzmo` Pratz
2016-01-14 21:52:46 +00:00
parent 660a41f23e
commit 161b5236b6
2 changed files with 11 additions and 4 deletions

View File

@@ -144,8 +144,9 @@ pollinate -q -r
# Between these two, we really ought to be all set.
echo 'Creating SSH public key... (might take a while)'
ssh-keygen -t rsa -b 8192 -f /root/.ssh/id_rsa -N '' -q
echo 'Launching SSH public key creation...'
nohup ssh-keygen -t rsa -b 2048 -a 100 -f /root/.ssh/id_rsa_miab -N '' -q 2>&1 >/dev/null
# ### Package maintenance
#