SSH Honeypot

Configuration

  1. A VPS ( virtual private server )
  2. apt install libssh-dev
  3. nano /etc/ssh/sshd_config
    • change the port to: 2244
  1. systemctl reload sshd
  2. git clone the PeteMo sshpot to the vps
    • cd sshpot
    • nano config.h
      • modify the RSA_KEYFILE: ./honepot
  1. ssh-keygen -t rsa -b 2048
    • Save the key to: /root/sshpot/honeypot
  2. apt install make
  3. make
  4. ./sshpot -p 22 &
  5. cat sshpot_auth.log
  6. tail -f sshpot_auth.log