2010-04-13 04:00:42 +00:00
|
|
|
Host <%= host_key %>
|
2011-01-29 01:50:43 +00:00
|
|
|
HostName <%= ssh_host %>
|
2010-04-13 04:00:42 +00:00
|
|
|
User <%= ssh_user %>
|
|
|
|
Port <%= ssh_port %>
|
|
|
|
UserKnownHostsFile /dev/null
|
|
|
|
StrictHostKeyChecking no
|
2010-06-06 01:52:12 +00:00
|
|
|
PasswordAuthentication no
|
2013-12-04 15:33:27 +00:00
|
|
|
<% private_key_path.each do |path| %>
|
2015-11-24 01:00:12 +00:00
|
|
|
IdentityFile <%= path.inspect %>
|
2013-07-20 03:57:10 +00:00
|
|
|
<% end -%>
|
2010-08-03 02:53:49 +00:00
|
|
|
IdentitiesOnly yes
|
2012-05-31 21:42:28 +00:00
|
|
|
LogLevel FATAL
|
2011-07-06 07:36:05 +00:00
|
|
|
<% if forward_agent -%>
|
|
|
|
ForwardAgent yes
|
|
|
|
<% end -%>
|
|
|
|
<% if forward_x11 -%>
|
|
|
|
ForwardX11 yes
|
|
|
|
<% end -%>
|
2014-02-10 00:27:32 +00:00
|
|
|
<% if proxy_command -%>
|
|
|
|
ProxyCommand <%= proxy_command %>
|
|
|
|
<% end -%>
|