diff --git a/templates/ssh/ssh_config.erb b/templates/ssh/ssh_config.erb
index 92bab9b86ca6e0285e68134c1d4da21a791f16f6..5c2fafdbeef3e4591831b79a50d4a4e2c8c0f180 100644
--- a/templates/ssh/ssh_config.erb
+++ b/templates/ssh/ssh_config.erb
@@ -9,6 +9,6 @@ Host *
     GSSAPIKeyExchange          yes
     GSSAPITrustDNS             yes
 <% end -%>
-<% if protocol_one -%>
+<% if @protocol_one -%>
     Protocol                   2,1
 <% end -%>