Skip to content

Instantly share code, notes, and snippets.

@pietrorea
Created January 28, 2022 16:45
Show Gist options
  • Save pietrorea/5badae19ae8bd58c980b3fe9debddef0 to your computer and use it in GitHub Desktop.
Save pietrorea/5badae19ae8bd58c980b3fe9debddef0 to your computer and use it in GitHub Desktop.
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