Answer the question
In order to leave comments, you need to log in
How to make friends with a project and a remote repository via ssh key in github?
Good afternoon,
1. Created ssh - $ ssh-keygen -t rsa -C "[email protected]"
2. Created a new repository on github.com
3. Copied the contents of the id_rsa.pub file and pasted it into Add SSH key on github .com
4. Registered - $ git remote add origin https://EVOSandru6/ferrum.git
5. Tried to push - $ git push -u origin master
What I got was this:
ssh: connect to host github.com port 22: Bad file number
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I took a YouTube example as an analogue:
https://www.youtube.com/watch?v=vFj2-bKGwkw
What can I do, what have I missed?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question