Skip to content

Instantly share code, notes, and snippets.

@hbt
Last active September 29, 2021 19:12
Show Gist options
  • Save hbt/1c0effda060a720d42ea6017ba1e68ea to your computer and use it in GitHub Desktop.
Save hbt/1c0effda060a720d42ea6017ba1e68ea to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
for entry in "/var/www/vhosts"/*pixeldev.com
do
cd $entry
mv .ssh/authorized_keys .ssh/auth.bak
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment