Skip to content

Commit

Permalink
Fixes #30121 - Generate SSH keys in PEM format
Browse files Browse the repository at this point in the history
On EL8 the keys get generated in RFC4716 which doesn't play well with
the version of net-ssh we currently ship.
  • Loading branch information
adamruzicka committed Jun 15, 2020
1 parent 25620e4 commit 08fcc5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/plugin/remote_execution/ssh.pp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
mode => '0700',
}
-> exec { 'generate_ssh_key':
command => "${ssh_keygen} -f ${ssh_identity_path} -N ''",
command => "${ssh_keygen} -f ${ssh_identity_path} -N '' -m pem",
user => $foreman_proxy::user,
cwd => $ssh_identity_dir,
creates => $ssh_identity_path,
Expand Down

0 comments on commit 08fcc5d

Please sign in to comment.