Once or twice a year, I run into a problem where a process is using a TCP port and I need to find out which one. I am documenting it here for the next time so I don't have to look it up in man pages.
To see all processes, run fuser as root or with sudo.
To list all processes connected to TCP port 22:
fuser -n tcp 22