5 lines
337 B
Plaintext
5 lines
337 B
Plaintext
/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 %>
|