Skip to content

Instantly share code, notes, and snippets.

@travisward
Created May 24, 2012 19:26
Show Gist options
  • Select an option

  • Save travisward/2783707 to your computer and use it in GitHub Desktop.

Select an option

Save travisward/2783707 to your computer and use it in GitHub Desktop.
Media Temple DV user and key creation for secure WordPress MU updates
groupadd wp-updater
useradd -g wp-updater -d /home/wp-updater -m wp-updater
su wp-updater
ssh-keygen
cp /home/wp-updater/.ssh/id_rsa.pub /home/wp-updater/.ssh/authorized_keys
chmod 755 /home/wp-updater/.ssh
chmod 644 /home/wp-updater/.ssh/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment