Тёмный

How to Generate and Add SSH Keys to Github / Bitbucket (MacOS) 

Rytis Codes
Подписаться 1,1 тыс.
Просмотров 10 тыс.
50% 1

Did someone tell you to just add SSH Keys to your account, but you don't know what they mean? In this video I will show how to generate and SSH Keypair and add it to your Bitbucket and Github accounts.
0:00 Intro
0:19 Generate a key via terminal
2:21 Add key to Bitbucket
3:02 Add key to GitHub
3:28 Load key into Memory (ssh-add)
4:17 Different keys per system

Опубликовано:

 

23 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 26   
@user-lx3bw6qt3x
@user-lx3bw6qt3x 9 месяцев назад
I was fighting with the documentation. Your video helped me, very straightforward. Thanks
@vanessavun
@vanessavun Год назад
You're a savior. Very straightforward! I got confused with that Atlassian "tutorial".
@rytis-codes
@rytis-codes Год назад
Glad to help! I have found that a lot of my students get confused about SSH keys.
@kimberleywhyte8789
@kimberleywhyte8789 4 месяца назад
Thank you so much. As a visual learner, this helped me so much
@brzdogz
@brzdogz 7 месяцев назад
Very well explained, thank so much!
@7daysinSunnyJune
@7daysinSunnyJune Месяц назад
Thanks brother. Really clear tutorial on ssh keys.
@fortunatenwachukwu6218
@fortunatenwachukwu6218 8 месяцев назад
Thank you. Very Helpful and easy to follow
@qaidahhassan2129
@qaidahhassan2129 Год назад
Very helpful, thanks alot!
@namnguyenthanh2133
@namnguyenthanh2133 7 месяцев назад
Thank you. Nice tutorial
@user-ib7ir9hl7k
@user-ib7ir9hl7k 14 дней назад
Thanks for tip !
@abolfazlnikfarjam9874
@abolfazlnikfarjam9874 Месяц назад
Thank you very much
@ChrisChanSajelan
@ChrisChanSajelan 8 месяцев назад
Thank you very much!
@tetianakravchuk464
@tetianakravchuk464 3 месяца назад
Thank you!!!
@vikki5329
@vikki5329 4 месяца назад
Thanks a million
@RMIT_s210
@RMIT_s210 Год назад
Hi liked the video, was able to create SSH key to make Git more secure , but how do you create 2 or more SSH keys ? When I try to create another key using same steps, its asks me whether I want override current key.
@rytis-codes
@rytis-codes Год назад
Love the question. When typing your ssh-keygen command, also add -f ~/.ssh/yournewkey to the end. This will save a new key with the new path+name you provided. You can then explicitly load your key with ssh-add ~/.ssh/yournewkey You can have multiple identities loaded at one time
@RMIT_s210
@RMIT_s210 Год назад
@@rytis-codes Thanks for that , but one thing just occurred to me is how do I stop someone cloning my repo using https cloning. if they know my ssh clone which is password protected , then it will be easy to figure out my https clone, which will not be password protected . Any thanks again
@rytis-codes
@rytis-codes Год назад
@@RMIT_s210 Access is controlled by the host (GitHub for example). If you make your repository private, then server will reject any cloning attempts even if someone knows the URL.
@RMIT_s210
@RMIT_s210 Год назад
@@rytis-codes okay, but on my local machine Git will not reject cloning my private repos, even when I'm logged out of github. It must remember my credientials when I'm logged out. Can I clear its memory ? Thanks
@rytis-codes
@rytis-codes Год назад
@@RMIT_s210 Being logged in to Github and actually using git are two separate things. If you're talking about HTTPs cloning, then yes it will use github credentials, and if someone knows them then they could clone the repository. That's why you have to have a strong password and use a password manager. I'm not sure whether git itself remembers your credentials. Even if it does then its for a limited amount of time, and should clear after restart.
@williamg8940
@williamg8940 11 месяцев назад
is there a way to save the ssh key in memory
@rytis-codes
@rytis-codes 11 месяцев назад
ssh-add
@williamg8940
@williamg8940 11 месяцев назад
does ssh-add saves it so that every time i turn on the computer i dont have do ssh-add it every time?@@rytis-codes
@andrewvlasov
@andrewvlasov Год назад
How to do it on windows 11?
@rytis-codes
@rytis-codes Год назад
Good question. If you're using WSL it should be exactly the same. Otherwise git should have its own terminal if you install it on Windows. TBH, I'm not that familiar with development on Windows, since I've last done in 8 years ago.
@aaronmendez-dg5ri
@aaronmendez-dg5ri 10 месяцев назад
Your tutorial worked, the instructions Atlassian gives... not good, the keys would always failed out
Далее
Setting Up SSH Keys for GitHub
10:43
Просмотров 167 тыс.
SSH Keys
10:12
Просмотров 106 тыс.
Maybe i need to add instructions @popflexactive
00:14
Ranking The Most Painful Crashes
00:19
Просмотров 3,4 млн
Programming Is NOT Enough | Add these 7 skills…
13:19
git-pr demo
9:46
Просмотров 2,7 тыс.
Git Tutorial For Dummies
19:25
Просмотров 1 млн
git rebase - Why, When & How to fix conflicts
9:45
Просмотров 34 тыс.
How To Generate SSH Keys for Bitbucket and GitHub
8:56
Push code to GitHub with an SSH key
13:51
Просмотров 27 тыс.
Setup Git for using GitLab (including SSH key) - macOS
14:26
SSH Key Authentication | How to Create SSH Key Pairs
18:46