Ausnahme gefangen: SSL certificate problem: certificate is not yet valid ๐Ÿ“Œ Managing multiple GitHub SSH logins on a single machine

๐Ÿ  Team IT Security News

TSecurity.de ist eine Online-Plattform, die sich auf die Bereitstellung von Informationen,alle 15 Minuten neuste Nachrichten, Bildungsressourcen und Dienstleistungen rund um das Thema IT-Sicherheit spezialisiert hat.
Ob es sich um aktuelle Nachrichten, Fachartikel, Blogbeitrรคge, Webinare, Tutorials, oder Tipps & Tricks handelt, TSecurity.de bietet seinen Nutzern einen umfassenden รœberblick รผber die wichtigsten Aspekte der IT-Sicherheit in einer sich stรคndig verรคndernden digitalen Welt.

16.12.2023 - TIP: Wer den Cookie Consent Banner akzeptiert, kann z.B. von Englisch nach Deutsch รผbersetzen, erst Englisch auswรคhlen dann wieder Deutsch!

Google Android Playstore Download Button fรผr Team IT Security



๐Ÿ“š Managing multiple GitHub SSH logins on a single machine


๐Ÿ’ก Newskategorie: Programmierung
๐Ÿ”— Quelle: dev.to

Do you have more than one account for GitHub, i.e. one for professional work dev and another for personal side projects?

If you're using SSH to clone repositories this might help...

Setting up your SSH keys

I won't copy the existing GitHub docs for generating keys

Once you've created the keys you should add them to your GitHub accounts, again their article would be better than mine...

Now that you've got at least 2 SSH keys you need to add some config to ~/.ssh/config, if that file doesn't exist yet you can create it.

In that file, you need to add an entry like this for each GitHub account

Host github.com
    Hostname github.com
    User git
    AddKeysToAgent yes
    IdentitiesOnly yes
    IdentityFile ~/.ssh/id_fizz

For each one you need to change the Host and the IdentityFile. i.e. if you had a personal and a work account you could set it up like this:

Host github.com
    Hostname github.com
    User git
    AddKeysToAgent yes
    IdentitiesOnly yes
    IdentityFile ~/.ssh/id_fizz

Host work-github.com
    Hostname github.com
    User git
    AddKeysToAgent yes
    IdentitiesOnly yes
    IdentityFile ~/.ssh/id_buzz

Now you've done that you should be able to be able to test you're connections like so:

$ ssh -T git@github.com
Hi <Personal GitHub Username>! You've successfully authenticated, but GitHub does not provide shell access.

$ ssh -T git@work-github.com
Hi <Work GitHub Username>! You've successfully authenticated, but GitHub does not provide shell access.

Now you've done this you can clone repos like this:

### personal ###
$ git clone git@github.com:fizz/buzz.git


### work ###
$ git clone git@work-github.com:fizz/buzz.git

I recently found out how to do it and thought I'd share, there might be better ways of doing it. Please let me know if there is!

...



๐Ÿ“Œ Managing multiple GitHub SSH logins on a single machine


๐Ÿ“ˆ 67.48 Punkte

๐Ÿ“Œ Managing Multiple CUDA Versions on a Single Machine: A Comprehensive Guide


๐Ÿ“ˆ 35.83 Punkte

๐Ÿ“Œ GitHub - flattool/warehouse: A versatile toolbox for viewing flatpak info, managing user data, and batch managing installed flatpaks


๐Ÿ“ˆ 32.37 Punkte

๐Ÿ“Œ ssh-context - Bash wrapper around ssh which provides you ability to use contexts (as in kubectl) for SSH.


๐Ÿ“ˆ 29.05 Punkte

๐Ÿ“Œ Auth0's single sign-on (SSO) user authentification for multiple applications with a single set of credentials with React Js


๐Ÿ“ˆ 25.92 Punkte

๐Ÿ“Œ Warehouse: A versatile toolbox for viewing flatpak info, managing user data, and batch managing installed flatpaks


๐Ÿ“ˆ 24.91 Punkte

๐Ÿ“Œ GitHub: Authentication bypass on gist.github.com through SSH Certificates


๐Ÿ“ˆ 24.6 Punkte

๐Ÿ“Œ Using Two-Factor Authentication to Protect SSH Logins


๐Ÿ“ˆ 24.19 Punkte

๐Ÿ“Œ Push Notifications for SSH Logins


๐Ÿ“ˆ 24.19 Punkte

๐Ÿ“Œ Zeigt die btmp-Datei nur alle SSH Logins an?


๐Ÿ“ˆ 24.19 Punkte

๐Ÿ“Œ GoDaddy breach: SSH file compromise saw 28,000 users' logins go AWOL with malicious bods


๐Ÿ“ˆ 24.19 Punkte

๐Ÿ“Œ How to enable SSH 2FA on AlmaLinux for more secure logins


๐Ÿ“ˆ 24.19 Punkte

๐Ÿ“Œ How to set up SSH key authentication in Linux for more secure logins


๐Ÿ“ˆ 24.19 Punkte

๐Ÿ“Œ Azure Lighthouseโ€”managing cloud, hybrid, and edge environments at-scale through a single control plane


๐Ÿ“ˆ 22.43 Punkte

๐Ÿ“Œ Dotfile - Simple VCS for managing single files


๐Ÿ“ˆ 22.43 Punkte

๐Ÿ“Œ Dell APEXโ€™s Pete Manca on Managing Multicloud with a โ€˜Single Pane of Glassโ€™


๐Ÿ“ˆ 22.43 Punkte

๐Ÿ“Œ Managing a Single-Writer RDBMS for a High-Scale Service


๐Ÿ“ˆ 22.43 Punkte

๐Ÿ“Œ Cool Tool: ASDF โ€” A single solution for managing versions


๐Ÿ“ˆ 22.43 Punkte

๐Ÿ“Œ No, GitHub's source code wasn't hacked and posted on GitHub, says GitHub CEO


๐Ÿ“ˆ 22.37 Punkte

๐Ÿ“Œ Deploying a Vite app on GitHub Pages using GitHub Actions with GitHub Secrets


๐Ÿ“ˆ 22.37 Punkte

๐Ÿ“Œ GitHub Honors Class of 2021 with 'GitHub Yearbook' and 'GitHub Graduation' Ceremony


๐Ÿ“ˆ 22.37 Punkte

๐Ÿ“Œ GitHub announces the preview of GitHub Copilot Enterprise and general availability of GitHub Copilot Chat


๐Ÿ“ˆ 22.37 Punkte

๐Ÿ“Œ Learning AI with GitHub Copilot: Exploring machine learning fundamentals w GitHub Copilot [Part 2/6]


๐Ÿ“ˆ 22.35 Punkte

๐Ÿ“Œ Machine Learning for Cyber Security https://github.com/ByteHackr/Machine-Learning-For-Cyber-Security #MachineLearning #AI #ML #Python


๐Ÿ“ˆ 22.32 Punkte

๐Ÿ“Œ managing your ssh keys


๐Ÿ“ˆ 22.14 Punkte

๐Ÿ“Œ Forgot your GitHub password? Facebook cooks up spec to reset logins via social network


๐Ÿ“ˆ 21.96 Punkte

๐Ÿ“Œ CirclCI Data Breach Exposed Customer GitHub And Bitbucket Logins


๐Ÿ“ˆ 21.96 Punkte

๐Ÿ“Œ Multiple Security Experts Comment On 172M Zynga Logins Leaked


๐Ÿ“ˆ 20.47 Punkte

๐Ÿ“Œ A single protective technology means a single point of failure


๐Ÿ“ˆ 19.96 Punkte

๐Ÿ“Œ Single single-sign-on SNAFU threatens three Cisco products


๐Ÿ“ˆ 19.96 Punkte

๐Ÿ“Œ Single Sign-On up to 1.3.3/1.4.2 on Cloud Foundry Single Sign-On service UI cross site scripting


๐Ÿ“ˆ 19.96 Punkte

๐Ÿ“Œ Johnson & Johnson CISO: Healthcare orgs are seeing nation-state attacks every single minute of every single day


๐Ÿ“ˆ 19.96 Punkte











matomo