Skip to content

Commit

Permalink
added no passphrase option to ssh-keygen for avoiding hanging during …
Browse files Browse the repository at this point in the history
…key generation
  • Loading branch information
poppen authored and elnappo committed Jun 14, 2015
1 parent cf22560 commit 3961e7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
when: ssh_disable_password_login

- name: Create host keys
command: ssh-keygen {{ item.parm }} -f {{ ssh_sshd_config_dir }}{{ item.file }} creates={{ ssh_sshd_config_dir }}{{ item.file }}
command: ssh-keygen {{ item.parm }} -f {{ ssh_sshd_config_dir }}{{ item.file }} -N '' creates={{ ssh_sshd_config_dir }}{{ item.file }}
with_items:
- { parm: "-t ed25519", file: "ssh_host_ed25519_key" }
- { parm: "-t rsa -b 4069", file: "ssh_host_rsa_key" }
Expand Down

0 comments on commit 3961e7d

Please sign in to comment.