A Docker containerized honeypot SSH server written in Go that logs login attempts.
Password authentication always fails, so the attacker cannot gain terminal access. 💀
docker run -it --rm -p 22:22 --name fakessh honeok/fakessh
or
docker run -d --restart=unless-stopped -p 22:22 --name fakessh honeok/fakessh
docker logs -f fakessh
or
services:
fakessh:
image: honeok/fakessh
container_name: fakessh
restart: unless-stopped
ports:
- 22:22
command: /log
volumes:
- $PWD/log:/log
network_mode: bridge
git clone https://github.com/honeok/fakessh.git
cd fakessh
CGO_ENABLED=0 go build -v -trimpath -ldflags="-s -w -buildid=" -o ./fakessh fakessh.go
Content type
Image
Digest
sha256:90674b8b7…
Size
1.7 MB
Last updated
about 1 year ago
docker pull honeok/fakessh:0.0.1