diff --git a/templates/commands/ssh_config/config.erb b/templates/commands/ssh_config/config.erb index a2d8f2089..0d796b185 100644 --- a/templates/commands/ssh_config/config.erb +++ b/templates/commands/ssh_config/config.erb @@ -5,7 +5,7 @@ Host <%= host_key %> UserKnownHostsFile /dev/null StrictHostKeyChecking no PasswordAuthentication no - IdentityFile <%= private_key_path %> + IdentityFile "<%= private_key_path %>" IdentitiesOnly yes LogLevel FATAL <% if forward_agent -%>