PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 7.4p1 Raspbian 10+deb9u2 (protocol 2.0)
$ sudo python3 sshoney.py
$ cat credentials.txt
127.0.0.1:user:asdfasdf asdf asdfa sdf
127.0.0.1:user:#@#$@#$@#$f
127.0.0.1:user:';oij';
pip3 install -r /opt/sshoney/requirements.txt
[Unit]
Description=sshoney.py
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/python3 /opt/sshoney/sshoney.py
Restart=always
[Install]
WantedBy=multi-user.target
# vim /etc/systemd/system/sshoney.service
# systemctl enable /etc/systemd/system/sshoney.service
# systemctl start /etc/systemd/system/sshoney.service
# systemctl status /etc/systemd/system/sshoney.service
You will need to provide the full path to credentials.txt.
E.g. the default script assumes that sshoney has been cloned to "/opt/sshoney/".
with open('/opt/sshoney/credentials.txt', 'a') as file_obj: