Skip to content

Commit

Permalink
Latest OpenSSH's ssh-keygen defaults to ed25519 keys, no longer RSA. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein authored Oct 7, 2023
1 parent 0d01096 commit e751558
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
state: absent

- name: Generate PEM encoded key with passphrase
command: 'ssh-keygen -b 1280 -f {{ remote_tmp_dir }}/pem_encoded -N {{ passphrase }} -m PEM'
command: 'ssh-keygen -t rsa -b 1280 -f {{ remote_tmp_dir }}/pem_encoded -N {{ passphrase }} -m PEM'

- name: Try to verify a PEM encoded key
openssh_keypair:
Expand Down

0 comments on commit e751558

Please sign in to comment.