Harvest passwords automatically from OpenSSH server
Tested on OpenSSH portable 8.2p1 and 9.3p1.
For testing purposes, download a OpenSSH stable release from mirrors
sudo ./start_sshd.sh
# in another terminal
./inject.sh
# then
ssh -p2222 user@localhost
# check what happens
See my blog post