git clone git@github.com:aldoestebanpaz/dotfiles.git
cd dotfiles
Copy the .ssh/ files:
cp -R <src-location>/.ssh ~
Change the permissions and add the keys:
chmod 700 ~/.ssh/
chmod 600 ~/.ssh/id_!(*.pub)
chmod 600 ~/.ssh/id_*.pub ~/.ssh/config ~/.ssh/known_hosts
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_!(*.pub)
Copy the .gnupg/ files:
cp -R <src-location>/.gnupg ~
Change the permissions and check it:
chmod 700 ~/.gnupg/
chmod 600 ~/.gnupg/*
gpg --list-keys --keyid-format short
./distro-checker.sh