aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-05-29 14:15:30 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-05-29 14:15:30 -0300
commit65b22cccccc2bf55014f84ddde1c67b6c08b065d (patch)
tree05b901a00782cd9a671dfcf0767152730c8c3715 /templates
parentfcad3473dd09ae8a42b5095001d721da1dd24f1a (diff)
downloadpuppet-autossh-65b22cccccc2bf55014f84ddde1c67b6c08b065d.tar.gz
puppet-autossh-65b22cccccc2bf55014f84ddde1c67b6c08b065d.tar.bz2
Adding sshport parameter
Diffstat (limited to 'templates')
-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 e89bc2a..0a552d8 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 %> <%= real_remote_user %>@<%= remote_host %>"
+AUTOSSH_ARGS="-M <%= real_monitor_port %> -N -L <%= bind_address %>:<%= port %>:<%= host %>:<%= hostport %> <%= ssh_extra_options %> -p <%= ssh_port %> <%= real_remote_user %>@<%= remote_host %>"
<% if gatetime != 'absent' -%>
AUTOSSH_GATETIME=<%= gatetime %>
<% end -%>