How to setup SSH for GitHub repository
Вставка
- Опубліковано 22 лют 2022
- Book your free session with Sergii and find the perfect QA course for you: calendly.com/codemify/consult...
Interview and resume preparation with HR: calendly.com/d/cn7w-nyw-2kn/c...
Codemify Instagram: / codemify_
Codemify telegram: t.me/codemifyschool
Codemify Instagram: / codemify_
Codemify telegram: t.me/codemifyschool
Here are a few quick links to get in touch:
1. Software Quality Assurance Course - sign up for a free lesson here - codemify.com
2. Learn more info about Manual Testing and Automation Testing - codemify.com/blog
Useful UA-cam playlists for you:
✅ More about QA Job: • About QA Job
✅ Our students’ reviews: • Student Reviews
▶️JavaScript: • JavaScript
▶️WDIO: • WDIO
▶️API TEST Automation:
• API Test Automation
▶️Jira: • Jira
Change your carrier and become an IT professional with us.
❗️Info about our courses and mentorship are here: codemify.com/
✔️ Our QA courses: Manual and Automation Testing can be found here - codemify.com/courses
✔️ Registration form for the course - codemify.com/contact
✔️Our students: codemify.com/testimonials
✔️FAQ of QA automation: codemify.com/faq
✔️Follow us on Instagram :
/ codemify_
✔️ Get a free consultation or sign up for a course, questions about the course -
email - support@codemify.com
✔️ Telegram: t.me/codemifyschool
#github #git #ssh
Your explanation of how to install SSH into GitHub was very helpful. What a great teacher you are.
Thanks a lot for the feedback :)
Thank you sir! You have got me half the way there. So much more complex now than when I set it up on my old computer a few years ago. I like your style
Glad it helped!
The error show while adding,
clip < ~/.ssh/id_ed25519.pub
At line:1 char:6
+ clip < ~/.ssh/id_ed25519.pub
+ ~
The '
This is fair enough for local usage.
Thank you for the directions.
Now if I got there, it is because I am following a training. I am given a VM on which I could do my work so that the instructor could see what I do. The thing is I prefer working locally, then push.
But I am concerned with security and I want no one to mess with my repos/account when the machine is unattended. So I need a passphrase.
I found a simpler way on Windows. It involves generating the key from GIT Gui utility. In one click the key is generated.
Generating from CLI did not recognize the existence of any key. I don't know if it looks for a specific name or what but at least it works when GIT Gui generates the key.
When I clone using SSH it will ask for the passphrase every time I push or pull which is what I want.
You can also have ssh-agent enable in the current window if you still need to sync quite often. But closing the window just clears the data and the passphrase will be asked for again on a new session (up to you to repeat the ssh-agent steps or not).
After my training ends, I can simply remove that SSH key (EDIT: I meant from GitHub. Should one even forget the key on the VM, it will become useless).
🙌
Very helpful your explanation on how to install the SSH in Github. Thank you so much! By the way, you teach and also explain things pretty well!
I always get back to this video, thank you so much
My greatest pleasure!
the best and calmest
Great tutorial 👍! Just what I needed, thank you!
My greatest pleasure!
@@Codemify hello and thank you for your video! Could you please tell why didn't you add the ssh key to the ssh-agent? Isn't it necessary??
@@developerninja619Nope, it's not as you can see
This video is really helpful. Thanks now I understand all.
My greatest pleasure!
Just what I needed. Thanks!
My greatest pleasure!
well. that's a lot of steps and codes for a beginner. 😁 thanks for you effort. I will try this when I have time
in meantime I am just using the Access token method it is simpler than this SSH one
Сергій, дякую! Дуже корисно!
My pleasure 🙌
It really works, thank you so much😀.
My greatest pleasure :)
Thanks a lot sir very valuable information!!
One small question where is the private key stored? when we generate key pair it actually created public key in local and we pasted the same in website what about private key?
Perfect video. Thank you
Thank you that was really helpful
My pleasure 💪
this was helpful. thanks
My pleasure!
This video helped me !
Thank you for the feedback! It’s a pleasure to help others 🙌🏼😎
Great job! 🥇
Here we need to mention that this is not a tutorial to clone a repository.
It helped me. Thanks alot :))
My greatest pleasure!
Nice video! really helpful
Glad it was helpful!
pretty clear explanation
Thank you for the feedback!
Glad it was helpful!
THANK YOU SO MUCH BUDDY !!!!!
My pleasure :)
wow thanks for this it saves me from two days headache 😂🤣
hahaha anytime 😁
awesome!
Thank you very much boss
thanks for the video
My pleasure!
Hi! So if I already have an ssh generated for Gitlab, the same one should be used for GitHub as well? How often should we change them? Thanks
Good questions!
1. I've never used Gitlab and Github simultaneously but I see no reason why it would not work. You generate one key for two different doors(same locks)
2. Generally, you don't need to change them if they have not been compromised
@@Codemify thanks for the quick response. Yeah I just added my existing ssh into Github account and it works for both. I haven't really had the problem connecting and pushing to github repo with the commands they give you when you create one, until today.
@@olga_c Yeyyy!!!
Great job! You've just successfully tested our theory 🤔
It's a pleasure to collaborate and help likeminded people!
Thank you brother!
My greatest pleasure!
I have ssh keys on my windows and Ubuntu environment. I also want install it on my Kali environment. I follow the exact procedure but I am not able to clone with ssh in Kali. Any suggestion would be helpful. Thank you!!
I am little bit lost here. Where did you copy your SSH key from before paste it in the new SSH KEY input field?
On 3:54 I’ve copied the command
On 4:16 I ran it and it copied the key
Please rewatch 🥂
confused where you got the webprojects folder... what does that correspond to? I am not starting off with any folder.
Which second of the video are you talking about?
clear and concise explanation
Thank you for the feedback, David!
Thank You bro ❤
My greatest pleasure!
Thankyou so much very clear. able to understand very quick.
My pleasure
Hi I'm having an issue when I'm cloning the GitHub repository to the ubuntu dedicated server. When I use git clone url I'm getting bad configuration at ssh_conff file at line 54... Please let me know if you have any videos on that..
@@gauthamraj6120 This is a very specific error that would require more details. Seems like you didn't setup ssh properly on your server
@@Codemify yes, if there is any tutorial you could suggest please share it. Or any blog.
@@gauthamraj6120 I don't think there is a tutorial that will explain that specific problem. Try to reset all you ssh settings from scratch
Thank you for this Vidéo!
My greatest pleasure!
Thank you...
I have created a ssh key pair and added public one into the github account. But when I run git commands, it still asks for the username/password. How to fix that?
Do I need to run any additional commands after cloning?
git remote set-url origin git@github.com:username/repo.git
This command will change it to ssh.
Replace username/repo.git with the path to your repository (you can get this from the main page of your repository on GitHub).
Let me know if it works ;)
thanks man
My greatest pleasure!
the github documentation no more gives you 'pbcopy' command, it gives you some 'clip' command and it doesn't work for you. i'm lacking the syntax.
You might be looking into different pages. Here is the one docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account
If I generated an SSH key on my Windows machine, how to use it on my Linux machine? Should I generate another key for Linux machine?
It would be easier just to generate it directly on linux machine, than to move it around from machine to machine
Thank you for your help.@@Codemify
My greatst pleasure - @@bodnarsa
I followed every step, but when I tried to finally add the ssh key, ii couldn't, the message that appeared was " Key is invalid. You must supply a key in OpenSSH public key format"
You probably did not copy the right key. Please follow the video again
mmm not working. it always sends me 'warning: You appear to have cloned an empty repository' or 'fatal: destination path 'test' already exists and is not an empty directory. 'after doing the git clone code. I'm very new to this so I don't get it. I check the folder and it is empty. Thank you very much to anyone that can help me
That issue is related to your repo, not to ssh
Thankyou
My pleasure 🙌🏼
5:33 from where did you copy this ssh key ..
On 3:54 I’ve copied the command
On 4:16 I ran it and it copied the key
Please rewatch 🥂
How can I manage keys
This is a good topic to record another video
Дякую тезко
Що ти маєш на увазі?
@@Codemify він має на увазі, що вас звати Сергій як і його
@@tjorven9645 Туплю) Давно не чув слово тезко) Дякую, друже!
how does this looks so easy here... but when I do it it is full of error 😢
Good question. Most likely different env
Bro y didn’t u use eval cod?
I don't like cod bro, I prefer tuna
@@Codemify ok fair enough! Y didn't u use eval tuna?
@@AzeamDildar haha you could use either way you like. The end result is the same
this is so confusing, 30 minutes later I'm still confused. The copy and pasting of keys needs to be explained better
If you are on the Mac, you run a command that copies the key to the keyboard. Then you simply Command-V to paste it or right click and paste!
@@Codemify I dont mean how to copy and paste. I mean you dont explain the copy and paste of the key correctly. You are copying the generated key, then another shorter key you copied from the instructions. You dont explain about joining them together to form a full key, if that is what your doing 🤷♂️. I still dont even know because it's so confusing.
@@timmyhiggins5220 What short key are you talking about?
You don't need to join anything. You generate a key, copy it, and add it to your github account. Let me know if it doesn't work
@The Big TunaOh, thanks for the clarification. You did copy it from terminal a minute ago right here ua-cam.com/video/snCP3c7wXw0/v-deo.html
@@timmyhiggins5220 Is that's what you've asked about? ua-cam.com/video/snCP3c7wXw0/v-deo.html
For about half of your video, all you do is follow some instructions on a web page.
That is correct :)
@@Codemify My earlier comment notwithstanding, your video did help me understand "how to setup SSH for" my GitHub account. Thank you!
@@VulcanOnWheels My pleasure, and I'm glad it was helpful!
i gave you a big dislike because you waste 1:17 my time at the first.
thank you so much
My greatest pleasure :)