mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-24 16:17:11 +08:00
feat(aws/config): Support configuring auth_service.proxy_listener_mode (#23669)
Signed-off-by: Roman Tkachenko <roman@goteleport.com> Co-authored-by: Håkon Solbjørg <hakon@solbj.org>
This commit is contained in:
co-authored by
Håkon Solbjørg
parent
fbf2bc2ce3
commit
e708d7d22b
@@ -280,6 +280,11 @@ EOF
|
||||
echo " license_file: /var/lib/teleport/license.pem" >> ${USE_CONFIG_PATH}
|
||||
fi
|
||||
|
||||
# configure proxy_listener_mode
|
||||
if [[ -n "${PROXY_MULTIPLEXING}" ]]; then
|
||||
echo " proxy_listener_mode: ${PROXY_MULTIPLEXING}" >> ${USE_CONFIG_PATH}
|
||||
fi
|
||||
|
||||
# enable/start token services and timers
|
||||
systemctl_wrap enable teleport-ssm-publish-tokens.service teleport-ssm-publish-tokens.timer
|
||||
systemctl_wrap start teleport-ssm-publish-tokens.timer
|
||||
@@ -479,6 +484,11 @@ EOF
|
||||
echo " license_file: /var/lib/teleport/license.pem" >> ${USE_CONFIG_PATH}
|
||||
fi
|
||||
|
||||
# configure proxy_listener_mode
|
||||
if [[ -n "${PROXY_MULTIPLEXING}" ]]; then
|
||||
echo " proxy_listener_mode: ${PROXY_MULTIPLEXING}" >> ${USE_CONFIG_PATH}
|
||||
fi
|
||||
|
||||
cat >>${USE_CONFIG_PATH} <<EOF
|
||||
|
||||
ssh_service:
|
||||
|
||||
Reference in New Issue
Block a user