Skip to content

Github SSH Config

Shamik edited this page Mar 25, 2026 · 8 revisions

Github SSH Config

Generating and Adding a New SSH Key

The below instructions have been formulated from the above official Github docs. Generating SSH key for @shamik-biswas-rft

Generating ssh-keygen\

ssh-keygen -t ed25519 -C shamik.biswas@refinitiv.com
eval "$(ssh-agent -s)"
exec ssh-agent bash
ssh-add ~/.ssh/id_ed25519

Copy and paste the output of the below command in the ssh keys on Github\

cat ~/.ssh/id_ed25519.pub | pbcopy

Authenticate your ssh key\

ssh -T git@github.com

Successful authentication
Hi shamik-biswas-rft! You've successfully authenticated, but GitHub does not provide shell access.

Signing commits

Use ssh key to sign commits

git config --global gpg.format ssh
git config --global user.signingkey ~/.ssh/id_ed25519.pub

Sign all commit automatically.

git config --global commit.gpgsign true

Clone this wiki locally