Skip to content

Commit

Permalink
force 1024 rsa and location, no password
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed Oct 15, 2012
1 parent 5b3e64e commit 9b3fd6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ssh/manifests/server/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
}
Expand Down

0 comments on commit 9b3fd6f

Please sign in to comment.