aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-05-29 14:22:36 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-05-29 14:22:36 -0300
commitcae6404e88cf20820cbaeb010d39b3905ee2aaf9 (patch)
tree7ac245b9a7389789181fb669949784fdd166c2f4
parent65b22cccccc2bf55014f84ddde1c67b6c08b065d (diff)
downloadpuppet-autossh-cae6404e88cf20820cbaeb010d39b3905ee2aaf9.tar.gz
puppet-autossh-cae6404e88cf20820cbaeb010d39b3905ee2aaf9.tar.bz2
Typo
-rw-r--r--templates/autossh-tunnel.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/autossh-tunnel.erb b/templates/autossh-tunnel.erb
index 0a552d8..5224197 100644
--- a/templates/autossh-tunnel.erb
+++ b/templates/autossh-tunnel.erb
@@ -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 -%>