Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 

SSH/WebUI ANY check

Danny
Champion Champion
Champion

🛒 More SmartTasks
👍 Tested to be working with R81.20+

SmartTask to verify SSH/Gaia WebUI clients are not set to 'Any'.

Script code

Copy the code below into a new script of your SmartConsole script repository.
test `grep "ALL: ALL" /etc/hosts.allow|wc -l` -ne 0 && echo '{"result":"failure","message":"SSH/Gaia WebUI access on '$(hostname)' must not be set to: Any"}' || echo '{"result":"success"}'

SmartTask

Create a new SmartTask in SmartConsole > Mana
...;
TO ACCESS CHECKMATES TOOLBOX it's simple and free

Disclaimer: Check Point does not provide maintenance services or technical or customer support for third party content provided on this Site, including in CheckMates Toolbox. See also our Third Party Software Disclaimer.




0 Replies