cjmling / findings

Notes on stuff i finds worth keeping for quick reference later on.
2 stars 0 forks source link

sourcetree error can not push pull ssh #346

Open cjmling opened 6 months ago

cjmling commented 6 months ago

Not sure how exactly was it done but it was error with ssh key.

One thing we need to do is change the ssh client from putty to ssh.

Open Tools > Options

image

Then we need to import ssh key (the one end with .pub)

Tools > Add ssh-key

Most likely it will be at C:\Users\{username}\.ssh

IF you don't have then generate one by

ssh-keygen -t ed25519 -C "your_email@example.com"

https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent