puppet-autossh/templates/autossh-command.erb
Ricardo Carrillo Cruz 4c080ffbe3 Fix autossh command template
It had breaklines, now it's set as a one-liner
2015-03-24 18:28:18 +00:00

2 lines
334 B
Plaintext

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