From 4b5909d5327fc183a58e602db064445d5c3f8d78 Mon Sep 17 00:00:00 2001 From: Samet Atdag Date: Mon, 21 Jan 2013 15:19:35 +0200 Subject: [PATCH] Private key path is put into quotes in case of space-including username. --- templates/commands/ssh_config/config.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -%>