I need a php coder to make me a php script to make the follow :
I will have a database with nologins (ssh user /bin/false ) , and the php need to get me from DB 100 Nologins (ssh user /bin/false ) , check it if are live , and if are live to run SSH TUNNEL on it .
Script must check each 30 minuts and If 1-2-3- Nologin go down(dead) then the script need to know and go again to DB and extract 1-2-3 and remplace it to be allways 100 LIVE !!!!
Allways must be there 100 active connections , never 99 or 98 etc .
If for example the nologins open this ports : 22222, 22223, 222224, 22225 and the Nologin with the port : 22224 go down , the next one when remplace it must remplace on same port!!! (VERY IMPORTANT)