What would happen if I, as an unprivileged user on the box running this, did this:
for port in $(seq 1024 65535); do ./my-ssh-sniffer-thing $port &; done
I leave my ssh at port 22 to make sure only root can bind to whatever i send my password/keys to and/or the AllowGroups directive in sshd_config(That way I dont accidentally allow my test:test1234 SSH-access.)