GIT + SSH agent


# save private key in home directory under .ssh e.g. ~/.ssh/work.id_rsa

# start ssh-agent if not already
eval "$(ssh-agent -s)"

# activate the specific key
ssh-add ~/.ssh/work.id_rsa

# --> Now you can use git to access the repository

Leave a comment

Your email address will not be published.