Jump to content

Template:egSshAgentAdd

From RaySoft

Syntax

{{egSshAgentAdd}}

Usage

Code

{{egSshAgentAdd}}

Result

Provide git with a SSH private key
eval "$(ssh-agent -s)"

ssh-add -q "${HOME}/.ssh/id_ed25519_alex@codeberg"

git push --set-upstream 'origin' 'main'