lsof -w -t +d /dev/pts/ | sort | uniq | xargs ps -oppid= -p | xargs ps -ocomm=,pid=,user= -p |  awk '($1 == "sshd") {print $2}' |  xargs kill