{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "ssh root@prod.karlkratz.com \"ipset destroy f2b-sshd && echo 'f2b-sshd gelöscht' && ipset destroy f2b-sshd-aggressive && echo 'f2b-sshd-aggressive gelöscht' && ipset save > \/etc\/ipset\/ipset.conf && echo 'ipset config gespeichert'\" 2>&1",
"timeout": 15000,
"description": "Delete old f2b ipsets and persist"
}
}
{
"tool_response": {
"stdout": "f2b-sshd gelöscht\nf2b-sshd-aggressive gelöscht\nipset config gespeichert",
"stderr": "",
"interrupted": false,
"isImage": false,
"noOutputExpected": false
}
}