vagrant/templates/ssh_config.erb

16 lines
344 B
Plaintext

Host <%= host_key %>
HostName <%= ssh_host %>
User <%= ssh_user %>
Port <%= ssh_port %>
UserKnownHostsFile /dev/null
StrictHostKeyChecking no
PasswordAuthentication no
IdentityFile <%= private_key_path %>
IdentitiesOnly yes
<% if forward_agent -%>
ForwardAgent yes
<% end -%>
<% if forward_x11 -%>
ForwardX11 yes
<% end -%>