Answer the question
In order to leave comments, you need to log in
How to push to github using ssh?
Good day everyone! The question is, I generated a separate pair of ssh keys for myself and placed them in the .ssh/GitHub/ folder. I uploaded the public key to GitHub, but it doesn’t work and I understand why, but I can’t find a solution. I know that you can safely fly into the server, even if the ssh key is not in the standard folder, ssh -i
and indicate where the private key is located.
Tell me, is there a similar way, only for git?
Answer the question
In order to leave comments, you need to log in
add key to ssh-agent.
use GIT_SSH_COMMAND.
use sshconfig.
I prefer the third option.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question