Sign inSign up

jheise/ssh-honeypot

By jheise

•Updated over 6 years ago

Golang based SSH honeypot, records usernames, passwords, and sha256 hashes of public keys

Image
0

1.2K

jheise/ssh-honeypot repository overview

⁠SSH Honeypot


Collect usernames, passwords and sha256 fingerprints of public keys

⁠Config options

HONEYPOT_ADDR what address to bind to, default is 0.0.0.0
HONEYPOT_PORT what port to bind on, default is 22
HONEYPOT_LOGTYPE log to file or standard out, values "stdout" or "file", default is "stdout"
HONEYPOT_LOGDEST log file path, if LOGTYPE is "file", default is "honeypot.log"
HONEYPOT_LOGFORMAT how to log data, formated sring or json, values "string" or "json", default is string
HONEYPOT_SERVERKEY path to ssh server key, key must be unencrypted, default is "honeypot_rsa"

⁠Sample docker-compose.yml

version: '2'
services:
    honeypot:
        image: "jheise/ssh-honeypot"
        ports:
          - "22:22"
        volumes:
          - "/var/honeypot/honeypot:/honeypot"
        environment:
          - HONEYPOT_LOGTYPE=file
          - HONEYPOT_SERVERKEY=/honeypot/honeypot_rsa

Tag summary

Content type

Image

Digest

Size

151.4 MB

Last updated

over 6 years ago

docker pull jheise/ssh-honeypot