Port used by (lsof - list open files)



$ sudo lsof -i :22     list the process using port 22