Skip to content

Instantly share code, notes, and snippets.

@mariotpc
Last active August 14, 2021 23:46
Show Gist options
  • Save mariotpc/de3ab13a498785cf94840b3777a67723 to your computer and use it in GitHub Desktop.
Save mariotpc/de3ab13a498785cf94840b3777a67723 to your computer and use it in GitHub Desktop.
[Unit]
Description=Dropbear SSH server
After=network.target
[Service]
Type=forking
ExecStart=/usr/local/sbin/dropbear -b /etc/dropbear/logo.txt
PIDFile=/var/run/dropbear.pid
[Install]
WantedBy=multi-user.target
My logo...
[root@secure ~]# cat /etc/dropbear/logo.txt
`,''++++':.
.+++++++++++++++;
:++++++++++` .++
++++++++++` ,;;` '+,
++++++++++' ++++++:::++.
;++++++++++, .++++++:::+++
+++++++++'', `''+';:::'+++`
++++:::: :::;+++++.
++':::;++++, .++++++++++++
++:::++++++, .+++++++++++;
++::;++++++ ;++++++++++'
+++` ,:. `++++++++++.
++++' ++++++++++`
++++++++++++++++++'.
Fedora Core - Security Spin
running on KVM Virtual Machine
@mariotpc
Copy link
Author

Tip, If you are using the systemd initialization on your system, and your service does not start automatically then be sure that you are using the WantedBy in the right mode, by example default.target does not work for me, whenever i changed to multi-user.target. then on every restart the service is started up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment