From 376b8738fa603d8de166910e9c0fe751999e7940 Mon Sep 17 00:00:00 2001 From: Phil Friderici Date: Wed, 16 Oct 2013 12:44:31 +0200 Subject: [PATCH] Fixed undef variables problems in ssh_config.erb --- templates/ssh_config.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/ssh_config.erb b/templates/ssh_config.erb index e5ab70f..743a15b 100644 --- a/templates/ssh_config.erb +++ b/templates/ssh_config.erb @@ -50,13 +50,13 @@ Host * # to the original X11 display. As virtually no X11 client supports the untrusted # mode correctly we set this to yes. ForwardX11Trusted yes -<% if @ssh_config_forward_agent -%> +<% if @ssh_config_forward_agent != nil -%> ForwardAgent <%= @ssh_config_forward_agent %> <% end -%> -<% if @ssh_config_forward_x11 -%> +<% if @ssh_config_forward_x11 != nil -%> ForwardX11 <%= @ssh_config_forward_x11 %> <% end -%> -<% if @ssh_config_server_alive_interval -%> +<% if @ssh_config_server_alive_interval != nil -%> ServerAliveInterval <%= @ssh_config_server_alive_interval %> <% end -%> # Send locale-related environment variables