{"id":13796044,"url":"https://github.com/sjinks/ssh-honeypotd","last_synced_at":"2025-06-27T04:33:01.294Z","repository":{"id":22277216,"uuid":"25611622","full_name":"sjinks/ssh-honeypotd","owner":"sjinks","description":"A low-interaction SSH honeypot written in C","archived":false,"fork":false,"pushed_at":"2025-06-11T23:11:12.000Z","size":517,"stargazers_count":17,"open_issues_count":3,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-12T00:26:24.302Z","etag":null,"topics":["honeypot","security","ssh","ssh-honeypot","ssh-honeypotd"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sjinks.png","metadata":{"funding":{"custom":["https://www.paypal.com/donate/?hosted_button_id=SAG6877JDJ3KU","https://send.monobank.ua/jar/7rosVfiwKM"]},"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-10-23T00:44:58.000Z","updated_at":"2025-06-11T23:11:15.000Z","dependencies_parsed_at":"2023-10-14T15:55:06.466Z","dependency_job_id":"f3e4c206-2cb6-470d-b481-3050a4c617c5","html_url":"https://github.com/sjinks/ssh-honeypotd","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/sjinks/ssh-honeypotd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjinks%2Fssh-honeypotd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjinks%2Fssh-honeypotd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjinks%2Fssh-honeypotd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjinks%2Fssh-honeypotd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sjinks","download_url":"https://codeload.github.com/sjinks/ssh-honeypotd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjinks%2Fssh-honeypotd/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262188396,"owners_count":23272341,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["honeypot","security","ssh","ssh-honeypot","ssh-honeypotd"],"created_at":"2024-08-03T23:01:05.511Z","updated_at":"2025-06-27T04:33:01.036Z","avatar_url":"https://github.com/sjinks.png","language":"C","readme":"# ssh-honeypotd\n\n[![Coverity Scan Build Status](https://scan.coverity.com/projects/3318/badge.svg)](https://scan.coverity.com/projects/3318)\n![Build](https://github.com/sjinks/ssh-honeypotd/workflows/Build/badge.svg)\n\nA low-interaction SSH honeypot written in C.\n\n## Command Line Options\n\nUsage: ssh-honeypotd [options]...\n\nMandatory arguments to long options are mandatory for short options too.\n  * `-k`, `--host-key FILE`: the file containing the private host key (RSA, DSA, ECDSA, ED25519)\n  * `-b`, `--address ADDRESS`: the IP address to bind to (default: `0.0.0.0`)\n  * `-p`, `--port PORT`: the port to bind to (default: `22`)\n  * `-P`, `--pid FILE`: the PID file (if not specified, the daemon will run in the foreground)\n  * `-n`, `--name NAME`: the name of the daemon for syslog (default: `ssh-honeypotd`)\n  * `-u`, `--user USER`: drop privileges and switch to this USER (default: `daemon` or `nobody`)\n  * `-g`, `--group GROUP`: drop privileges and switch to this GROUP (default: `daemon` or `nogroup`)\n  * `-x`, `--no-syslog`: log messages only to stderr (only works with `--foreground`)\n  * `-f`, `--foreground`: do not daemonize\n  * `-h`, `--help`: display help and exit\n  * `-v`, `--version`: output version information and exit\n\n`-k` option must be specified at least once if ssh-honeypots is compiled against libssh prior to 0.8.0 (note that in Ubuntu (and possibly Debian), libssh 0.8.0 is detected as 0.7.0 because of a bug in `libssh.h`). For newer libssh versions, the host key is generated automatically (RSA 2048 bits).\n\nThe minimum supported `libssh` version is 0.7.0.\n\n## Usage with Docker\n\n```bash\ndocker run -d \\\n    --network=host \\\n    --cap-add=NET_BIND_SERVICE \\\n    --restart=always \\\n    --read-only \\\n    --name=ssh-honeypotd \\\n    -e ADDRESS=0.0.0.0 \\\n    -e PORT=22 \\\n    wildwildangel/ssh-honeypotd:latest\n```\n\n```bash\ndocker run -d \\\n    --network=host \\\n    --cap-add=NET_BIND_SERVICE \\\n    --restart=always \\\n    --read-only \\\n    wildwildangel/ssh-honeypotd-min:latest\n```\n\n## Usage with Kubernetes\n\n`ssh-honeypotd.yaml`:\n```yaml\n---\napiVersion: v1\nkind: Namespace\nmetadata:\n  name: honeypots\n---\napiVersion: apps/v1\nkind: DaemonSet\nmetadata:\n  name: ssh-honeypotd\n  namespace: honeypots\nspec:\n  selector:\n    matchLabels:\n      name: ssh-honeypotd\n  template:\n    metadata:\n      labels:\n        name: ssh-honeypotd\n    spec:\n      hostNetwork: true\n      containers:\n        - name: ssh-honeypotd\n          image: wildwildangel/ssh-honeypotd-min # or wildwildangel/ssh-honeypotd\n          resources:\n            limits:\n              cpu: 100m\n              memory: 12Mi\n            requests:\n              cpu: 100m\n              memory: 12Mi\n          securityContext:\n            capabilities:\n              drop:\n                - all\n              add:\n                - NET_BIND_SERVICE\n            readOnlyRootFilesystem: true\n            allowPrivilegeEscalation: false\n            seccompProfile:\n              type: RuntimeDefault\n          ports:\n            - containerPort: 22\n              hostPort: 22\n              protocol: TCP\n```\n\n```bash\nkubectl apply -f ssh-honeypotd.yaml\n```\n\nYou can control ssh-honeypotd's behavior in the container (wildwildangel/ssh-honeypotd image) with the following environment variables:\n  * `ADDRESS` (default: 0.0.0.0): the IP address to bind to;\n  * `PORT` (default: 22): the port to bind to.\n\nThese variables make it easy to have several ssh-honeypotd's running on the same machine, should the need arise.\n\n## Docker Image Variants\n\nssh-honeypotd's Docker image comes in two flavors:\n\n  1. A standard image based on the latest stable Alpine: [wildwildangel/ssh-honeypotd](https://hub.docker.com/repository/docker/wildwildangel/ssh-honeypotd).\n  2. A minimalistic image based on the `scratch` Docker image: [wildwildangel/ssh-honeypotd-min](https://hub.docker.com/repository/docker/wildwildangel/ssh-honeypotd-min)\n\nThe `ssh-honeypotd-min` image contains only the statically linked `ssh-honeypotd` binary and the set of the pre-generated SSH keys. This image is a bit smaller than `ssh-honeypotd` but is experimental at the moment. The `ssh-honeypotd` binary in the `ssh-honeypotd-min` image does not support the following command-line options: `--pid`, `--name`, `--user`, `--group`, `--no-syslog`, `--foreground`.\n","funding_links":["https://www.paypal.com/donate/?hosted_button_id=SAG6877JDJ3KU","https://send.monobank.ua/jar/7rosVfiwKM"],"categories":["Honeypots","\u003ca id=\"c8f749888134d57b5fb32382c78ef2d1\"\u003e\u003c/a\u003eSSH\u0026\u0026Telnet"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjinks%2Fssh-honeypotd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsjinks%2Fssh-honeypotd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjinks%2Fssh-honeypotd/lists"}