/dotfiles

My dotfiles for Linux

Primary LanguageShell

dotfiles

Installation

Clone the repo

git clone git@github.com:aldoestebanpaz/dotfiles.git
cd dotfiles

Restore the .ssh/ files

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)

Restore the .gnupg/ files

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

Check the OS and version to proceed

./distro-checker.sh