Skip to content

Commit

Permalink
Merge pull request #102 from jaksi/systemd
Browse files Browse the repository at this point in the history
Add sample systemd unit to README
  • Loading branch information
jaksi committed Apr 30, 2022
2 parents e9206ad + 865fa3b commit a2add80
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ An easy to set up and use SSH honeypot, a fake SSH server that lets anyone in an

[![asciicast](https://asciinema.org/a/VSqzZi1oPA0FhQDyqht22iA6k.svg)](https://asciinema.org/a/VSqzZi1oPA0FhQDyqht22iA6k)

- [Installation and usage](#installation-and-usage)
- [From source](#from-source)
- [GitHub releases](#github-releases)
- [Snap](#snap)
- [Usage](#usage)
- [Docker](#docker)
- [CLI](#cli)
- [Dockerfile](#dockerfile)
- [Docker Compose](#docker-compose)
- [systemd](#systemd)
- [Configuration](#configuration)
- [Sample output](#sample-output)

## Installation and usage

> :warning: **The [`sshesame` package](https://packages.debian.org/stable/sshesame) in the official Debian (and derivatives) repositories may be (probably is) outdated.**
Expand Down Expand Up @@ -81,6 +94,23 @@ volumes:
sshesame-data: {}
```

### systemd

```desktop
[Unit]
Description=SSH honeypot
After=network-online.target
Wants=network-online.target
[Service]
ExecStart=/path/to/sshesame #-config /path/to/sshesame.yaml
Restart=always
[Install]
WantedBy=multi-user.target
```


### Configuration

A configuration file can optionally be passed using the `-config` flag.
Expand Down

0 comments on commit a2add80

Please sign in to comment.