From: Peter Palfrader Date: Sun, 21 Feb 2010 15:57:18 +0000 (+0100) Subject: Specify which target port we want in our ssh call X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=c14d0a7356dc1222c88e9a7d4f4112c057f0c79f;p=mirror%2Fdsa-puppet.git Specify which target port we want in our ssh call --- diff --git a/modules/portforwarder/templates/xinetd.erb b/modules/portforwarder/templates/xinetd.erb index 68b178389..897924dce 100644 --- a/modules/portforwarder/templates/xinetd.erb +++ b/modules/portforwarder/templates/xinetd.erb @@ -14,7 +14,7 @@ template = 'service @@TARGET_HOST@@@@TARGET_PORT@@ group = portforwarder instances = 10 server = /usr/bin/ssh - server_args = -o PreferredAuthentications=publickey -o EscapeChar=none -C @@TARGET_HOST@@ : nothing + server_args = -o PreferredAuthentications=publickey -o EscapeChar=none -C @@TARGET_HOST@@ forward-to @@TARGET_PORT@@ cps = 0 0 } '