Skip to content

Instantly share code, notes, and snippets.

@hbt
Last active September 29, 2021 18:58
Show Gist options
  • Save hbt/df55c485fd9fb37447e7a0e0741623e2 to your computer and use it in GitHub Desktop.
Save hbt/df55c485fd9fb37447e7a0e0741623e2 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
set -euo pipefail bash
for entry in "/home"/*pixeldev.com
do
cd $entry
username=$(stat -c "%U" .)
chown $username:psacln -R .ssh
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment