Skip to content
This repository has been archived by the owner on Nov 23, 2017. It is now read-only.

Commit

Permalink
COOK-279, also add DSA key
Browse files Browse the repository at this point in the history
  • Loading branch information
jtimberman committed Jun 7, 2010
1 parent d5ba383 commit d98dd33
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ssh_known_hosts/templates/default/known_hosts.erb
@@ -1,4 +1,5 @@
# THIS FILE IS MAINTAINED BY CHEF, DO NOT MODIFY AS IT WILL BE OVERWRITTEN
<% @nodes.each do |n| -%>
<% @nodes.each do |n| -%>
<%= n['hostname'] %>,<%= n['ipaddress'] %> ssh-rsa <%= n['keys']['ssh']['host_rsa_public'] %>
<% end -%>
<%= n['hostname'] %>,<%= n['ipaddress'] %> ssh-dsa <%= n['keys']['ssh']['host_dsa_public'] %>
<% end -%>

0 comments on commit d98dd33

Please sign in to comment.