Skip to content

Instantly share code, notes, and snippets.

@ryanwoodsmall
Last active February 16, 2020 05:22
Show Gist options
  • Save ryanwoodsmall/8f97863414abed70a724b6c78c6e3853 to your computer and use it in GitHub Desktop.
Save ryanwoodsmall/8f97863414abed70a724b6c78c6e3853 to your computer and use it in GitHub Desktop.
/etc/xinetd.d/ssh
#ssh stream tcp nowait root /usr/sbin/dropbear dropbear -i -R
# set type = UNLISTED to run on an off port
service ssh
{
socket_type = stream
protocol = tcp
wait = no
port = 22
user = root
server = /usr/sbin/dropbear
server_args = -i -R
disable = no
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment