From bef82364d6414c5ff01551834b0d1d1a90c11e3e Mon Sep 17 00:00:00 2001 From: Bernard `Guyzmo` Pratz Date: Thu, 14 Jan 2016 19:38:33 +0000 Subject: [PATCH] Added ssh key generation upon installation for root user. Signed-off-by: Bernard `Guyzmo` Pratz --- setup/system.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup/system.sh b/setup/system.sh index 1aeec458..d2f47a44 100755 --- a/setup/system.sh +++ b/setup/system.sh @@ -144,6 +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 + # ### Package maintenance # # Allow apt to install system updates automatically every day.