Whenever I spawn a new terminal window I need to type the following commands in order to use git:
> cd ~/.ssh
> eval `ssh-agent -s`
> ssh-add git_rsa
If I don't I get this error:
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
What can I do to make sure I don't have to keep typing those commands each time?