summaryrefslogtreecommitdiff
path: root/add-self
blob: dae1fa55058ca0c93c3d7f887aebe21cbf0a6241 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
set -e
set -x
[ ! -e authorized_keys.d/"$USER" ]
cp ~/.ssh/authorized_keys authorized_keys.d/$USER
git add authorized_keys.d/$USER
git commit -m 'add self'
git push