mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 20:42:11 +00:00
Check if Agent Forwarding is enabled
This commit is contained in:
parent
0415827f08
commit
98d55f77c9
1 changed files with 7 additions and 0 deletions
|
@ -20,6 +20,13 @@ if ! hash jq 2>/dev/null; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Check for Agent Forwarding
|
||||||
|
if ! printenv | grep SSH_AUTH_SOCK; then
|
||||||
|
echo "Agent forwarding seems to be disabled."
|
||||||
|
echo "In order to let Ansible do its work, please enable it."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# Import ECS settings
|
# Import ECS settings
|
||||||
source .ecs_settings.sh
|
source .ecs_settings.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue