From 4c080ffbe36815f381b7bca7255cdb933c63a11c Mon Sep 17 00:00:00 2001 From: Ricardo Carrillo Cruz Date: Tue, 24 Mar 2015 18:28:18 +0000 Subject: [PATCH] Fix autossh command template It had breaklines, now it's set as a one-liner --- templates/autossh-command.erb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/templates/autossh-command.erb b/templates/autossh-command.erb index 60ea5f2..2c8f161 100644 --- a/templates/autossh-command.erb +++ b/templates/autossh-command.erb @@ -1,4 +1 @@ -/usr/lib/autossh/autossh -M 0 -N -f -o "ServerAliveInterval 60" -o "ServerAliveCountMax 3" -o "Stric -tHostKeyChecking no" <% if @local_forward_args %> -L <%= @local_forward_args %> <% end %> <% if @rem -ote_forward_args %> -R <%= @remote_forward_args %> <% end %> -i <%= @ssh_key %> <%= @ssh_user %>@<%= - @ssh_host %> -p <%= @ssh_port %> +/usr/lib/autossh/autossh -M 0 -N -f -o "ServerAliveInterval 60" -o "ServerAliveCountMax 3" -o "StrictHostKeyChecking no" <% if @local_forward_args %> -L <%= @local_forward_args %> <% end %> <% if @remote_forward_args %> -R <%= @remote_forward_args %> <% end %> -i <%= @ssh_key %> <%= @ssh_user %>@<%= @ssh_host %> -p <%= @ssh_port %>