Merge pull request #1 from yodax/nohup

Remove nohup from ssh-keygen so errors aren't hidden.
This commit is contained in:
guyzmo
2016-07-30 15:23:07 +02:00
committed by GitHub
+4 -2
View File
@@ -144,9 +144,11 @@ pollinate -q -r
# Between these two, we really ought to be all set.
# We need an ssh key to store backups via rsync, if it doesn't exist create one
if [ ! -f /root/.ssh/id_rsa_miab ]; then
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
ssh-keygen -t rsa -b 2048 -a 100 -f /root/.ssh/id_rsa_miab -N '' -q
fi
# ### Package maintenance
#