From 9b3fd6fe346a725e7e2b52adafd1fbb1e2e86810 Mon Sep 17 00:00:00 2001 From: Mike Pirog Date: Mon, 15 Oct 2012 14:46:29 -0700 Subject: [PATCH] force 1024 rsa and location, no password --- modules/ssh/manifests/server/config.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ssh/manifests/server/config.pp b/modules/ssh/manifests/server/config.pp index b14361f..9c9d5e6 100644 --- a/modules/ssh/manifests/server/config.pp +++ b/modules/ssh/manifests/server/config.pp @@ -9,7 +9,7 @@ exec { "sshkeygen": path => "/bin:/usr/bin", unless => "cat /home/${::kala_user}/.ssh/id_rsa.pub", - command => "sudo -u ${::kala_user} ssh-keygen", + command => "sudo -u ${::kala_user} ssh-keygen -b 1024 -N \'\' -f /home/${::kala_user}/.ssh/id_rsa -t rsa -q", require => Class["ssh::server::install"], notify => Class["ssh::server::service"], }