Watched 2x speed, skipped Key gen parts. Very good and on point information. I can see that this was prepared beforehand. Solved my problem of assigning multiple SSH keys to the same repo in Git Lab.
I’ve searched on google for weeks and failed to find clear instructions on how to accomplish this. (I could just be an idiot lol). But you sir have saved my life! This video 100% worked for me! Thanks a lot
It is so good to find the exact solution to your problem, with clear steps and on top of that it works! Saved me from a tutorial and documentation hell. Thank you a lot! Great video!
Two days to understand this concept and make commits from different accounts to GitHub without login and logout, again and again. Finally I understand thanks. My last error was with the host.
This is a very helpful video. I am in a situation at work where we have multiple development PC's that different engineers/programmers connect to and we are using SSH to push/pull/clone from github on the same persons account right now. Ideally, I would like to make a bash startup script that when the user opens the bash shell it prompts them for which user to log in as and asks for their password. After logged in, it will stay logged in and use their key and set their global user.name and user.email during the session until the window is closed and everything resets at next bash shell startup. This video is a very helpful step in that process. Thanks.
Fantastic video mate, thank you! Though I did get stuck for an hour as I'd previously set up an ssh-agent that was bypassing the config file. Had to run 'ssh-add -l' to show the agents, then 'ssh-add -D' to delete them all. Careful with this though as it's not undoable!
Thanks very much for the tutorial! Been honestly lazy with learning ssh authentication but you made it look very easy and it actually turned out to be easy :)
It's not worked for me. This is not a proper more-than-2-GitHub-accounts case. The second repo in the video is still in the personal acc (okay, with a different ssh-key). I followed instructions and the output I got reads "Bad owner or permissions on ~/.ssh/config. Fatal: Could not read from remote repository". What about the remote URL set on the repo/.git/config?. I had it set as a --local HTTPS repo and trying to change to SSH sync but unsuccessful. I miss info.. /..\
Hi I did the SSH Keys thing, but the problem is, when I clone it ,commit and push, it is 'build' and pushed by the other account(?) So I made a repository/project with account 1, and want to push with account 1 but it pushed with account 2 instead.
I've create public key and added in windows server and able to clone, but when the windows service runs it fails for Host key authentication failed. what is wrong for same batch file? please suggest
really helpful, thanks. one question: can we set different user.email and user.name for different accounts when push commits to remote, for now I can only set the git user.email for every repository separately, otherwise, it'll use the global configured git user.email.
hiya - good question, setting the user email and name in the local config for each repository is the only way I'm aware too though afraid :-( cheers Mark
Köszönjük!
Thanks Kristóf! 😍😍 glad was helpful. Cheers Mark
This is the only tutorial that is clear, concise, and works!!!!
Thanks Brett - glad it was helpful :-)
Thanks Sir, I am stuck with this problem for the last 8 months. This is really awesome, thanks again to solve my issue.
Excellent, glad it helped Amol 😎
Watched 2x speed, skipped Key gen parts. Very good and on point information. I can see that this was prepared beforehand. Solved my problem of assigning multiple SSH keys to the same repo in Git Lab.
Nice glad it was useful Arli😀
I’ve searched on google for weeks and failed to find clear instructions on how to accomplish this. (I could just be an idiot lol). But you sir have saved my life! This video 100% worked for me! Thanks a lot
It is so good to find the exact solution to your problem, with clear steps and on top of that it works! Saved me from a tutorial and documentation hell. Thank you a lot! Great video!
Great to hear! Thanks Mark
Two days to understand this concept and make commits from different accounts to GitHub without login and logout, again and again. Finally I understand thanks. My last error was with the host.
Excellent! glad it helped out, Cheers Mark
After hours of searching, this saved my ass. Wtf, why couldn't they make it easier to have multiple keys for multiple accounts....Thanks a lot man.
Cool glad it helped Daniel! :-) Cheers Mark
This is concise and simplest tutorial that I have seen. Thank so much !!!
Glad it was helpful! Thanks Juhand 😀
The only useful video to Authenticating multiple GitHub accounts using SSH all over the internet 👌👌👌👌
cool, thanks Hakob, Cheers Mark 🙂
This was exactly what I needed to have different keys for different AWS accounts!! Thank you very much!!
You're very welcome Luciano! Cheers Mark
This is the only guy who explained everything very clearly.
Thanks🙂
Without writing a long paragraph of how much this help, I'll simply say, Thank you!
Thanks Geraldaga - glad it helped out 🙂Cheers Mark
Thanks! for some reason my second ssh key didn't work, you helped me solve the issue.
Glad I could help! Cheers Mark
I don't know, who clicked dislike, but this HELPED ME A LOT, and saved my time. . .
Thanks Lech - glad it helped out :-) Cheers Mark
God friggin bless you sir. This was driving me nuts.
Cheers Tom, glad it helped :-)
World needs to know your channel
Thanks Agostinho!
This is a very helpful video. I am in a situation at work where we have multiple development PC's that different engineers/programmers connect to and we are using SSH to push/pull/clone from github on the same persons account right now. Ideally, I would like to make a bash startup script that when the user opens the bash shell it prompts them for which user to log in as and asks for their password. After logged in, it will stay logged in and use their key and set their global user.name and user.email during the session until the window is closed and everything resets at next bash shell startup. This video is a very helpful step in that process. Thanks.
Nice thanks!
This video must be protected. It’s so important. Thank you mate
Cool thanks! glad it was helpful :-)
You are my new god!
Thank you sir :) Very helpful. I was just about to give up.
You are welcome Tal 🙂 Cheers Mark
Awesome video! Really helpful! Thanks for taking the time to record, edit and upload it!
No problem! Cheers Mark 🙂
worked like a charm for me! Thank you!
Glad it helped! 🙂Cheers Mark
Thank you so much. it's helps me a lot by watching your video.
Glad it helped! Cheers Mark 🙂
Fantastic video mate, thank you! Though I did get stuck for an hour as I'd previously set up an ssh-agent that was bypassing the config file. Had to run 'ssh-add -l' to show the agents, then 'ssh-add -D' to delete them all. Careful with this though as it's not undoable!
Nice work! Cheers Mark
Thanks a lot for the exact solution which I am looking for!!
You are most welcome
thanks, man! it was really beneficial.
excellent 🙂
Very Nice. Was really looking to this help. Thanks a lot
Thanks! Glad it helped 😎
Thanks very much for the tutorial! Been honestly lazy with learning ssh authentication but you made it look very easy and it actually turned out to be easy :)
Glad it helped! Cheers Mark 🙂
Exactly what I was looking for! Thanks.
Great to hear Shnigi 🙂 Cheers Mark
It's not worked for me. This is not a proper more-than-2-GitHub-accounts case. The second repo in the video is still in the personal acc (okay, with a different ssh-key). I followed instructions and the output I got reads "Bad owner or permissions on ~/.ssh/config. Fatal: Could not read from remote repository".
What about the remote URL set on the repo/.git/config?. I had it set as a --local HTTPS repo and trying to change to SSH sync but unsuccessful. I miss info.. /..\
Sorry Sylver - hope you found the info you need from somewhere. Cheers Mark
I am having the exact same issue for my work account
KeePass has a plugin, allows not to keep all keys on HDD. also works fine for multiple ssh accounts.
Nice that will give some extra security for sure - thanks for the heads up will take a peek I reckon :-)
Straight forward tutorial!! I just subscribed
Nice glad it was useful :-) and thanks for the sub!
thank you so much for helping solving my problem! You're awesome!
Thanks Yang glad it was helpful :-)
Thank you for creating this! Very helpful! :)
Cool glad it was helpful! cheers Mark
Hi I did the SSH Keys thing, but the problem is, when I clone it ,commit and push, it is 'build' and pushed by the other account(?)
So I made a repository/project with account 1, and want to push with account 1 but it pushed with account 2 instead.
Thank you, Sir. Helpful video
Most welcome 😁 Cheers Mark
why in cpanel create known_hosts?
THANK YOU!! This was driving me insane! Thank you
You're welcome! glad it helped 🙂Cheers Mark
Amazing explanation! pretty clear
Glad you think so Santiago! Thanks Mark
That was a great presentation and helped me a lot. Thank you very much
Glad it was helpful Ramdane 🙂Cheers Mark
This was very helpful. Thanks
You're welcome! Cheers Mark 🙂
thanks a lot man! i had been struggling with this.
No problem! 🙂 Glad was helpful - Cheers Mark
Superb video. Great job. Thank you
👍
Thank you too Vadim, glad was useful :-)
learnt a lot from this thanks... served the purpose
Glad was useful Ayush :-)
Thank you for this solution!
Glad it helped Nikhil 🙂Cheers Mark
You are the best, thank you!🤘
Cool glad it helped out 🙂Cheers Mark
Thanks a lot ! Great tutorial...
All good, glad was useful Mehmet, cheers Mark 😀
Thanks for the information!
Any time! Cheers Mark
You saved my work. Thanks a lot
You're welcome!
Thank you sir for this video. It helped me so much!
Glad to hear that Atharva :-) Cheers Mark
This was really really very helpful. Thanks a lot😄
You're welcome Manikant 😊 Cheers Mark
Excellent.
Just need one on configuring the 'git send-email' SMTP authentication password for projects working on a patch flow basis.
Thanks a lot! very helpful
You're welcome Carlos :-) Cheers Mark
Great, man. You saved me :)
You're welcome Faridul :-) Cheers Mark
you save my time, thank you
Glad it helped! 😀Cheers Mark
thanks man it was very helpful
Glad it helped Ayman :-) Cheers Mark
¡Muchas gracias! Me ayudó mucho. No hay tutoriales en español de esta parte.
real helpful and to the point
Cool glad was useful Danish 🙂Cheers Mark
you saved my life Thanks
Excellent, glad you found useful Onas 🙂 Cheers Mark
Thank you so much sir , Its saved me a lot of trouble.
Glad to hear that Deepak :-) Cheers Mark
Thanks for the help.
cool glad it was useful 🙂Cheers Mark
Thanks: Its great tutorial
Glad it was helpful! Cheers Mark
very useful thanks.
You are welcome Santosh. Cheers Mark
thank you very much
No worries!
Thanks for your work! It helped me a lot.
Glad to hear that Dory :-) Cheers Mark
I did it ! Thanks Man !
Nice! glad it helped Vinay 😁 Cheers Mark
thanks a lot bro! good video
Glad you found useful Alex 🙂Cheers Mark
Easiest solution.
Thanks Nishant, glad it was helpful, cheers Mark 😀
Awesome! Thanks!
No problem! Cheers Mark
Thanks. It helps me.
Glad to hear that! Cheers Mark 🙂
thanks man, It's working
You're welcome Deepak 🙂Cheers Mark
saved my day
Cool! - glad it was helpful - Cheers Mark 🙂
Thank you so much!!!
Cool glad it was helpful 😀
I've create public key and added in windows server and able to clone, but when the windows service runs it fails for Host key authentication failed. what is wrong for same batch file? please suggest
Great video! Should I always change the clone link to match with my host in my config file?
Thanks Gustavo glad you liked it - been too long afraid for me to recall though - Cheers Mark
you are awesome thank you
You're welcome! Cheers Mark
Perfect! thank you so much.
Glad it helped Miguel!
Great job! What is known_hosts used for then
Thanks Dan - been too long for me to recall afraid 🙂Cheers Mark
Thanks in advance!
Welcome Thilina 🙂 Cheers Mark
If I create a new local repo, how can I add the origin and use the correct SSH key?
Is there a way to permanently set the remote host or I have to modify the host anytime I'm cloning a new repository
👏 Saved the day
Thanks Himachal glad it was of use :-)
cd .ssh shows no such directory in my PC. Do I just need to create one or it is a problem?
Thanks!
Thank you!
Cool, glad it was useful, cheers Mark 🙂
Thanks a lot!) That was useful!
You're welcome Artem - Cheers Mark
Great Tutorial man
Glad you liked it!
really helpful, thanks. one question: can we set different user.email and user.name for different accounts when push commits to remote, for now I can only set the git user.email for every repository separately, otherwise, it'll use the global configured git user.email.
hiya - good question, setting the user email and name in the local config for each repository is the only way I'm aware too though afraid :-( cheers Mark
In my case i have written a custom zsh script that updates the local git config (user,username,email)
this is so cool
Cheers! 🙂
Subscribed
on Linux i needed to `ssh-add `
Thanks - Glad was interesting. Cheers Mark
Works on Linux also thankyou.
Nice! 😀
Thanks man
No problem :-) Cheers Mark
Great stuff :-D!!
Thanks Natasha 😀
Thanks !
Welcome! Cheers Mark 🙂
thenk you 😇
No problem 😊
Hi, I would need to try single deploy key to be added on multiple repository.. is this possible? Please help me out
Hi Shubham, I'm afraid not no, Github will check if the key is used on another repository and deny this.
@@Ashotofcode Thank you so much :) appreciate your quick response generally nobody respond to such questions:) thank you again bro!
AWESOME!!!!!!!!!!!!!!
Thanks Ajinkya, glad it helped out :-)
Thank you
You're welcome Khuji 🙂 glad was useful, cheers Mark
I am having problem as it says No file directory found
I keep getting git@github.com: Permission denied (publickey). errors
Hard to help out here sorry - back to more googling is all I can suggest afraid. Cheers Mark
@@Ashotofcode found the reason: the ash key is removed from my agent each time I restart my laptops
any solution for this kind of error