]> gitweb.fluxo.info Git - puppet-autossh.git/commitdiff
Typo
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 29 May 2010 17:22:36 +0000 (14:22 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 29 May 2010 17:22:36 +0000 (14:22 -0300)
templates/autossh-tunnel.erb

index 0a552d81b077af1165414e851eab7ae14d26fae4..5224197a05488ce6720199b848e3eadc760e1e19 100644 (file)
@@ -26,7 +26,7 @@ SCRIPTNAME=/etc/init.d/$NAME
 #
 # AutoSSH configuration
 #
-AUTOSSH_ARGS="-M <%= real_monitor_port %> -N -L <%= bind_address %>:<%= port %>:<%= host %>:<%= hostport %> <%= ssh_extra_options %> -p <%= ssh_port %> <%= real_remote_user %>@<%= remote_host %>"
+AUTOSSH_ARGS="-M <%= real_monitor_port %> -N -L <%= bind_address %>:<%= port %>:<%= host %>:<%= hostport %> <%= ssh_extra_options %> -p <%= sshport %> <%= real_remote_user %>@<%= remote_host %>"
 <% if gatetime != 'absent' -%>
 AUTOSSH_GATETIME=<%= gatetime %>
 <% end -%>