Sha256: c80c2fc7540cbbfeb37e9609d41b08fbf86c9cec1944a2cbdebc554dad97a9f7

Contents?: true

Size: 594 Bytes

Versions: 5

Compression:

Stored size: 594 Bytes

Contents

<% node[:secrets][:ssh][:hosts].sort.each do |name, config| %>

Host <%= name %>
  User <%= config[:username] || node[:secrets][:username] %>
  Port <%= config[:ssh_port] %>
  HostKeyAlias <%= config[:alias] || name %>
  ForwardAgent <%= config[:forward_agent] ? "yes" : "no" %>
  ForwardX11 <%= config[:forward_x11] ? "yes" : "no" %>
  <% if config[:ssh_address] %>Hostname <%= config[:ssh_address] %><% end %>
<% end %>

Host *
  User <%= node[:secrets][:username] %>
  UserKnownHostsFile ~/.ssh/known_hosts
  ServerAliveInterval 60
  ServerAliveCountMax 3
  ConnectTimeout 15
  SendEnv LX_*

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tvd-ssh-0.0.14 cookbooks/ssh/templates/default/client_config.erb
tvd-ssh-0.0.13 cookbooks/ssh/templates/default/client_config.erb
tvd-ssh-0.0.12 cookbooks/ssh/templates/default/client_config.erb
tvd-ssh-0.0.11 cookbooks/ssh/templates/default/client_config.erb
tvd-ssh-0.0.10 cookbooks/ssh/templates/default/client_config.erb