Fix autossh command template

It had breaklines, now it's set as a one-liner
This commit is contained in:
Ricardo Carrillo Cruz 2015-03-24 18:28:18 +00:00
parent f41ff41748
commit 4c080ffbe3
1 changed files with 1 additions and 4 deletions

View File

@ -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 %>