mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 12:32:12 +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
|
||||
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
|
||||
source .ecs_settings.sh
|
||||
|
||||
|
|
Loading…
Reference in a new issue