Skip to content

Instantly share code, notes, and snippets.

@pietrorea
Created January 28, 2022 16:45
  • Star 7 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
SSH config here document
cat > /etc/ssh/sshd_config << "EOF"
Include /etc/ssh/sshd_config.d/*.conf
#Port 22
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::
...
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment