Skip to content

Commit 08fcc5d

Browse files
committed
Fixes #30121 - Generate SSH keys in PEM format
On EL8 the keys get generated in RFC4716 which doesn't play well with the version of net-ssh we currently ship.
1 parent 25620e4 commit 08fcc5d

File tree

1 file changed

+1
-1
lines changed
  • manifests/plugin/remote_execution

1 file changed

+1
-1
lines changed

manifests/plugin/remote_execution/ssh.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
mode => '0700',
7070
}
7171
-> exec { 'generate_ssh_key':
72-
command => "${ssh_keygen} -f ${ssh_identity_path} -N ''",
72+
command => "${ssh_keygen} -f ${ssh_identity_path} -N '' -m pem",
7373
user => $foreman_proxy::user,
7474
cwd => $ssh_identity_dir,
7575
creates => $ssh_identity_path,

0 commit comments

Comments
 (0)