Skip to content

Instantly share code, notes, and snippets.

@tanaka51
Last active August 29, 2015 14:01
Show Gist options
  • Select an option

  • Save tanaka51/11d89486fcd2749d4ebc to your computer and use it in GitHub Desktop.

Select an option

Save tanaka51/11d89486fcd2749d4ebc to your computer and use it in GitHub Desktop.
set everyleaf members public kyes to ~/.ssh/authorized_keys
#! /bin/sh
users=(nay kuko den8 tatsuo hassaku ksbmyk kyuden n-sakuma publichtml redfit upinetree yakitorii yorimitsu yoshihara tanaka51-jp uu59)
for user in ${users[@]}; do
echo Set $user public keyes...
curl -s https://github.com/$user.keys >> ~/.ssh/authorized_keys
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment