vagrant/templates/commands/ssh_config/config.erb

22 lines
477 B
Plaintext
Raw Normal View History

Host <%= host_key %>
HostName <%= ssh_host %>
User <%= ssh_user %>
Port <%= ssh_port %>
UserKnownHostsFile /dev/null
StrictHostKeyChecking no
PasswordAuthentication no
<% private_key_path.each do |path| %>
2015-11-24 01:00:12 +00:00
IdentityFile <%= path.inspect %>
<% end -%>
IdentitiesOnly yes
LogLevel FATAL
<% if forward_agent -%>
ForwardAgent yes
<% end -%>
<% if forward_x11 -%>
ForwardX11 yes
<% end -%>
<% if proxy_command -%>
ProxyCommand <%= proxy_command %>
<% end -%>