A support staff thought it would be funny to add 257 ips to the server with out asking permission or getting any justification, is there a way to mass remove ips from ssh otherwise im going to have to sit here and remove them all from whm
If you have the list of interfaces (e.g. eth0:1 to eth0:250), you can do something like this: for iface in 250 249 248 ..... 2 1;do ifconfig eth0:$iface down;done Code (markup): Off course, don't put the dots like in this example. They're just showing the range.
thanks for the advice the datacenter removed them because some junior at there company added them for a laugh