From 3f4bf565b1705f5a040264346633a142551321e8 Mon Sep 17 00:00:00 2001 From: Rob Lazzurs Date: Tue, 30 May 2017 17:02:48 +0100 Subject: [PATCH] Increase the default size of the SSH key. The default SSH key size in 2048. Increasing this to 4096 to match current best practice guidance. --- playbooks/local.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/local.yml b/playbooks/local.yml index be2ecc9f..194346db 100644 --- a/playbooks/local.yml +++ b/playbooks/local.yml @@ -3,7 +3,7 @@ - name: Generate the SSH private key shell: > echo -e 'n' | - ssh-keygen -b 2048 -C {{ SSH_keys.comment }} + ssh-keygen -b 4096 -C {{ SSH_keys.comment }} -t rsa -f {{ SSH_keys.private }} -q -N "" args: creates: "{{ SSH_keys.private }}"