Matt
Owner
Matt submitted a new resource:
kill multiple SSH connections - Kill hung SSH connections on port 22
Read more about this resource...
kill multiple SSH connections - Kill hung SSH connections on port 22
That will list the pid's to be killedCode:lsof -i tcp:22 | grep ESTABLISHED | awk '{print $2}' | xargs echo kill
That will kill themCode:lsof -i tcp:22 | grep ESTABLISHED | awk '{print $2}' | xargs kill
Read more about this resource...