C
C
Crash2016-10-31 16:13:05
GitHub
Crash, 2016-10-31 16:13:05

Is it possible to get Github's public ssh key?

The question is probably lamer, but I'm just learning how to set up VPS)
I'm working on my project. There is a local copy and there is a remote one, on the server. Set up git on the server. Those. I push my changes from the local machine to git on the server:
git push do master
And then on the server I push the changes:
git pull do master
Everything goes fine. But I'm thinking here - why do I need a remote repo on my server when there is directly on the github? But he doesn’t let me turn the push and pull, he swears at the key. As I understand it, if I saved the github public key in authorized_keys, then everything would work out. But can you get it? In the settings, where all the keys are saved, there is a list of only the keys of my local machines, which I downloaded at different times

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2016-10-31
@Bandicoot

so add the key from the local machine in the github settings. what problems?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question