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:
@@ -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
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user