Thank you so much! I noticed I often have to repeat this method every time I create any new directories and projects. Is there a universal fix for this?
Your public key has been saved in /c/Users/Avatar/.ssh/id_rsa.pub cut when I ran cat Your public key has been saved in /c/Users/Avatar/.ssh/id_rsa.pub it tells me No such file or directory. Why is that happening?
thank you, a lot. I search a solution for this from 3 days at last, I find this video and in some minutes I solve my problem thanks again. always be kindful.
I was not going to make a comment, but I was so freaking lost and your video is just so easy to follow. I read many articles, lost almost an hour just to find this video and fix everything under 10 mins lol Thank you so much!
Had to login from my personla account after watching the video for a work problem. Didn't fix my problem but the video is just so well made, big thanks for videos like this.
That's great for cloning repos from one GitHub account from a computer with one SSH key. But how can I configure Git to clone or use git ls-remote for another GitHub account using another SSH key?
Well you need to generate two different ssh keys. Here are the steps which i would follow to achieve it - 1. Generate two ssh keys using - ssh-keygen -t rsa -C "your_email@youremail.com" 2. Let's assume you have two keys with the name - mykey1, mykey2 3. Add bot the keys $ ssh-add ~/.ssh/mykey1 $ ssh-add ~/.ssh/mykey2 4. Update your ssh cofig cd ~/.ssh/ touch config subl -a config 5. add the following into the config file #activehacker account Host github.com-repo1 HostName github.com User git IdentityFile ~/.ssh/mykey1 #jexchan account Host github.com-repo2 HostName github.com User git IdentityFile ~/.ssh/mykey2 6. Then you can clone both the repo as per your need //Rahul
I got the same error by using non-default naming for the ssh key e.g. .../.ssh/mykey.pub. I fixed it by generating a new key and accepting the default name.
Thank's a ton ............ Rahul. I am just a newbie to git....... U made the key generation process so simple, above all U have emphazised the importance of key generation. God bless you & enhance ur knowledge. Cheers ...........
Hi Rahul, I have requirement that to set up a git server in windows machine and I want use this repo in another windows (client) machine through SSH here I don't want to use github or gitlab. Is it possible? Could you please help me with this? Thankyou
Brother when I typed cat and pasted the path it's like "Get-content : A positional parameter cannot be found that accepts argument" it's says like its some invalid argument
thankyou brother easiest way you have uploaded i have seen so many videos but really confused how to solve you are the man who help me to solve this problem relly thanks bro😊😊😊😊
I have tried 20+ video’s for this issue but I Say this is the best of all others %very clear understanding %and feel confident in just starting the video that it seems helpful at the end % Thanks you
Hello Sir. Can you please suggest what should I do while facing the following problem fatal: could not create work tree dir 'Hello': permission denied.
thanks for the video.. i am getting error message when i use cat 'CAT' is not recognized as an internal or external command, operable program or batch file.
Thank you so much! I noticed I often have to repeat this method every time I create any new directories and projects. Is there a universal fix for this?
same problem bro do you find it ?
@@anandsinha2289 Unfortunately, not a permanent solution. I did find an alternative where I simply upload or download the files instead.
Your public key has been saved in /c/Users/Avatar/.ssh/id_rsa.pub cut when I ran cat Your public key has been saved in /c/Users/Avatar/.ssh/id_rsa.pub it tells me No such file or directory. Why is that happening?
Sme prblm
Check by running ls -lart /c/Users/Avatar/.ssh/ and see how many files are there.
Also how did you generated the keys i would like to know?
Check by running ls -lart /c/Users/Avatar/.ssh/ and see how many files are there.
Also how did you generated the keys i would like to know?
thank you, a lot. I search a solution for this from 3 days at last, I find this video and in some minutes I solve my problem thanks again. always be kindful.
You're welcome!
I was not going to make a comment, but I was so freaking lost and your video is just so easy to follow. I read many articles, lost almost an hour just to find this video and fix everything under 10 mins lol Thank you so much!
Haha it happens with everyone of us
Thank you very much friend, I have reviewed other sites and videos and they did not help me with the problem, you are the best
Glad I could help
Thank you so much! I was stuck cloning my repository into another computer and your video is the clearest explanation I found. Amazing video :)
I am glad that it helped you
Had to login from my personla account after watching the video for a work problem. Didn't fix my problem but the video is just so well made, big thanks for videos like this.
Oh my goodness, I cannot believe this worked - thank you so much! I was trying to learn git and got stuck with the cloning process!
Glad it helped!
That's great for cloning repos from one GitHub account from a computer with one SSH key. But how can I configure Git to clone or use git ls-remote for another GitHub account using another SSH key?
Well you need to generate two different ssh keys. Here are the steps which i would follow to achieve it -
1. Generate two ssh keys using - ssh-keygen -t rsa -C "your_email@youremail.com"
2. Let's assume you have two keys with the name - mykey1, mykey2
3. Add bot the keys
$ ssh-add ~/.ssh/mykey1
$ ssh-add ~/.ssh/mykey2
4. Update your ssh cofig
cd ~/.ssh/
touch config
subl -a config
5. add the following into the config file
#activehacker account
Host github.com-repo1
HostName github.com
User git
IdentityFile ~/.ssh/mykey1
#jexchan account
Host github.com-repo2
HostName github.com
User git
IdentityFile ~/.ssh/mykey2
6. Then you can clone both the repo as per your need
//Rahul
Very nice and simple(much simpler then other online guides), thank you sir!
You welcome
لك اسدددددددددد اسد بديني اسد . .. وحش حقيقي .. شكرا كتير صديقي الهندي 🤩🤩🤩😍😍
didn't ask me a user name or password.
Thanks man! This was by far the simplest breakdown of the issue that I found. Upmarked!
Thanks man sometimes I also struggle with the simple solution. But glad it worked for you
I got the same error by using non-default naming for the ssh key e.g. .../.ssh/mykey.pub. I fixed it by generating a new key and accepting the default name.
yeah default name works in most of the cases
I did the same and finally got resolved. But still I have a doubt why that didn't work? Any specific reason?
@@amankadakuntla2876 I ran a debug and it tried to use all the default key names until one worked
it doesnt work now. any ideas?
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
You should try this - th-cam.com/video/Ff66TqiaIto/w-d-xo.html
Thank's a ton ............ Rahul.
I am just a newbie to git....... U made the key generation process so simple, above all U have emphazised the importance of key generation.
God bless you & enhance ur knowledge.
Cheers ...........
Keep learning and enjoy the content
thnks man your save meh from reading all those document .
i was terified in weeks .......but eventually found your vid ..........
Glad I could help
so sir do we have to create new SSH keys every time we are pushing a new repo in github?
No it is only one time setup
@@RahulWagh but when I tried to upload my second project in another repo, the bash gave me an error that I don't have the permission
Hi Rahul,
I have requirement that to set up a git server in windows machine and I want use this repo in another windows (client) machine through SSH here I don't want to use github or gitlab. Is it possible?
Could you please help me with this?
Thankyou
Brother when I typed cat and pasted the path it's like "Get-content : A positional parameter cannot be found that accepts argument" it's says like its some invalid argument
Can you share your exact command which you were trying to execute?
Thanks Rahul... I was stuck at it for a long time till i foiund your video
You are welcome
I referred this tutorial and it solved issue which I was facing since morning my day. Thanks Rahul :)
Most welcome 😊
Thank you very much, it works! I'm doing ssh for 2hrs+ until see your video. Thanks again.
Glad it helped
What is alternative of cat command in window
you just randomly paste in a key at 5.27 without explaining where you found it. how do i get this key?!
oh and it turns out you don't need to go find it! it appears after hitting enter on the path! thanks for wasting 20 mins of my time!
Getting this error while npm i. But able to clone with token based authentication. Npm i facing issue
thankyou brother easiest way you have uploaded i have seen so many videos but really confused how to solve you are the man who help me to solve this problem relly thanks bro😊😊😊😊
You are most welcome
I have tried 20+ video’s for this issue but I Say this is the best of all others %very clear understanding %and feel confident in just starting the video that it seems helpful at the end %
Thanks you
Glad it helped!
1:21 how to open that?
Can you elaborate your problem a bit more?
Followed the tutorial on your website, worked perfectly. Thanks a lot man. You got a Like on the Video.
Glad it helped
waoooo! have been on it for like 4 hours finding solution to it. am really happy that i could solve it through your video. thanks
Glad it helped you to troubleshoot the issue with your github repository
Hello Sir. Can you please suggest what should I do while facing the following problem
fatal: could not create work tree dir 'Hello': permission denied.
You do not have permission to work on directory - hello
please change the permission by running command chmod 777 Hello
Thank you Sir.
thanks for the video.. i am getting error message when i use cat
'CAT' is not recognized as an internal or external command,
operable program or batch file.
it feels bit weird the kind of error you are getting. As the error you have got It feels like you have not installed CAT onto your machine.
simple and nice explanation generating or reusing the existing SSH key on ubuntu; thanks
Thank you so much! You have explained everything in the easiest way!
Happy to hear that!
I had to click the youtube link from google to write this message . I love you thank you for this.
I am having error while pushing, but not at cloning stage.
Check the ssh keys if public key has been made available on GitHub or not
@@RahulWagh I did add them later on. But the download using ssh didn't raise an error which I don't understand, perhaps anyone can download the repo
Short, precise and problem solving, thank you...!!!
You're welcome!
Amazing....very well explained....thanks for fixing my issue quickly.... you video just made it smooth.
Glad it helped!
thank you so mush)) it was very useful video for me. I lost about 1 hour before I have found your channel!
Glad that it helped you
I am using windows, what do I write instead of "cat" command?
you can simply go to that folder and open the file in a notepad or else you need to install the gitbash on windows machine to use the cat command
@@RahulWagh actually i was able to use cat command on powershell
Some god level stuff broken down such that a kid can understand. Thank you so much!
haha glad it helped you
Thank you so much Dear!. Concise and clear explanation..
You welcome
2 step don't work for me ;-;
Protocal http is not supported
I am not Getting solution of this anywhere, kindly help me resolve it pls pls pls it's to necessary for me 🙏🙏🙏🙏🙏🙏
thank you man just because of you i uploaded my first project
That's awesome!
Thanks a ton!!!! so many docs and so many confusions. You made it so simple :)
Thank you a lot, it is more helpful
Glad it was helpful!
This is well explained !!! Thanx Rahul.
You are welcome
thank you so much sir,, your video was very new hence it really provide up to date information. God bless
You are most welcome
amazing explanation, thank you very much... new subscriber here and liked your video bro
thanks man, i followed your tutorial and i fixed my problem thanks to you !
Glad I could help
any instruction for MacOS?
There is not much difference if you compare the linux instructions or macos. It should be the same for both.
Sir I am not able read your screen clearly.kindly upload good quality screen vedio
Ohh probably you could try full screen if that helps?
I have just format my computer, this approach help me a lot (I use the ssh)
Gr8
Thanks Dude! Very clear! Very well explained and documented.
Glad it helped!
Thank you very much,am in full of confusion-while saw yours video its resolved,once again thanks
Glad it helped you
Thanks a lot brother. You instruction help me a lot to solve the issue that I couldn't fix on time. Thanks from my heart, brother
Thanks so much! I got my git - Github connection working again!!
Glad it helped!
Great thanks man, I was struggling with this issue for like an hour with a half. Huge thanks dude!!! 👍👍👍👍👍👍❤❤💛💙
You are welcome
You just saved my life!!!!!
Thank you so much
You welcome
Thanks. I wonder why it did this when I was regularly committing changes then just a few hour later I get the message
well sometimes you accidently delete the keys from github or you switch the laptop
Great video, To the point quick and nice
Thank you so much! This helped me solve an issue plaguing me for a while.
Great to hear!
Thank you bro, you're the one who finally helped me
Concise explanation and it works 👍
Cheers
you saved my life and also my career
very easy to understand...
Jesus bless you man!
Glad to hear that!
Thank you from Chile, it works for me
You're welcome!
Nice One.. Thank you..
That was really helpful to me..
Glad to hear that
Good stuff here. It works like a charm
Great to hear!
its a great method, helped to resolve issue, Thank you so much
You're welcome!
Great video. Really helpful
Glad you think so!
Thank you very much!!! Very well explained!!!!
Glad it was helpful!
thank you so much!!!! this saved me a headache
Many thanks!! Very helpful!!
You're welcome!
Thank you. this works for me.
You're welcome!
thank you very much! very good explanation
You saved my day! Thanks a lot.
You're welcome!
Aha finally it worked. Thanks.
You're welcome!
Amaizing.....Thank you so much!!!
Your video helped me. Thank you very much for this video.
Glad to hear that
Thanks a bunch you have saved my lot of time, thanks again 😍
You're welcome 😊
Thanks a lot Man :D this video is too much helpful
I hope you enjoyed it
@@RahulWagh sure
Oh great Man thanks! solved the issue. love Pakistan
Glad to hear that
Amazing help, thank you so much
You're welcome!
Thank You 🤗 this really helped..
Thanks you, is working and solve my problem. (from indonesia)
Glad to hear that
Helped me out
thanks dude
You welcomed
THANKS MAN! great video
Glad it helped!
worked... thanks buddy 🙂
You're welcome!
Thank you so much from Colombia :D
You're welcome!
You rocks man. Thanks!
Glad you liked it
Thank you so much !!!!!!!!!!!!! after 2 hours thx mr.
Glad it worked
This worked for me, thanks a lot
Glad it helped
Thanks for your video.
it has worked for me .
You are welcome
Love it clear and easy to understand
Glad it was helpful!
thanks man!! you help me a lot, I love you!!!!
Glad I could help!
thank you so much.. very helpful video
Thank you very much! You helped me a lot!! :)