This honeypot logs ips, username, and passwords from connections made to the server.
Before beginning, make sure to reconfigure sshd to listen on another port.
sudo dnf -y install libssh-devel cmake make gcc screen
git clone https://github.com/srikavin/ssh-honeypot
cd ssh-honeypot
cmake .
make
sudo ./ssh_honeypot 22 /etc/ssh/ssh_host_rsa_key credentialLog.txt ipLog.txt