Zum Hauptinhalt springen
Echtzeit-Radar & Feeds
Alle RSS Feeds ➔
👥 Community & Social
YouTube Security VideosNutanix advances legacy and AI app management with AMD(01.10.2026 um 16:00 Uhr)
•
YouTube Security VideosPC-WELT: 32 TB SSD-Speicher in der HMX 6!(01.10.2026 um 16:15 Uhr)
••••
Videos & KonferenzenPC-WELT: 32 TB SSD-Speicher in der HMX 6!(01.10.2026 um 16:15 Uhr)
••
Sicherheitslücken (CVE)USN-8857-1: KCoreAddons vulnerability(01.10.2026 um 12:48 Uhr)
•••
YouTube Security VideosNutanix advances legacy and AI app management with AMD(01.10.2026 um 16:00 Uhr)
•
YouTube Security VideosPC-WELT: 32 TB SSD-Speicher in der HMX 6!(01.10.2026 um 16:15 Uhr)
••••
Videos & KonferenzenPC-WELT: 32 TB SSD-Speicher in der HMX 6!(01.10.2026 um 16:15 Uhr)
••
Sicherheitslücken (CVE)USN-8857-1: KCoreAddons vulnerability(01.10.2026 um 12:48 Uhr)
•••
Intelligence View
⚡ tsecurity.de Intelligence

SSH key on github - Windows and Linux

What is an SSH Key? Generating an SSH Key Linux Windows Conclusão What is an SSH Key? An SSH key is a pair of keys used to authenticate a user on a server. The …

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!

  • What is an SSH Key?


  • Generating an SSH Key


    • Linux

    • Windows





  • Conclusão






What is an SSH Key?



An SSH key is a pair of keys used to authenticate a user on a server. The public key is used to encrypt data, and the private key is used to decrypt it. The public key is shared with the server, while the private key is kept secret by the user.



There are various encryption algorithms to generate SSH keys, but in this tutorial, I will teach you how to generate an SSH key using the ED25519 algorithm. ED25519 is an elliptic curve digital signature algorithm considered secure and fast.



To learn more about this topic, I recommend this article from Teleport: Article (in English)






Generating an SSH Key



From now on, I will divide this tutorial into two parts, one for Linux and another for Windows.



Before you start, you need to have Git installed on your machine. If you don't, I recommend the official Git documentation to install Git on your machine: Documentation






Linux



To generate an SSH key on Linux, you need to open the terminal and type the following command:




ssh-keygen -t ed25519 -C <your-email>






ssh-keygen on linux="ssh-keygen on linux" %}



After typing the command, you will be prompted to fill in some information, such as the key name and password. You can type any name as long as you don't forget it; in my case, I just pressed enter so that Git would automatically generate the key name and have no password.



With the key generated, you should copy the public key to the clipboard. For this, navigate to the folder where the key was generated (by default it is in the ~/.ssh folder, as shown in the previous image) and type the following command:




cat id_ed25519.pub






and copy the key that appears on the screen.



getting the key in linux image_title="getting the key in linux" %}



Now you need to go to the GitHub settings page and add the key you just copied.



here a shortcut for you to go directly to the GitHub SSH keys settings page: SSH Keys Settings Page



here you should go to New SSH key and paste the key you copied earlier.



paste key on github - linux



By clicking on Add SSH key, you will add the SSH key to GitHub.



Now, just test if the key was added correctly and clone any repository you have access to, always using the SSH address. To test if the key was added correctly, you can type the following command:







if everything goes well, you will see a success message, and you can clone any repository you have access to; in my case, I cloned my own repository.



Testing ssh key - linux






Windows



The same process as Linux except that here I used PowerShell to create the SSH key and Git Bash to test the SSH key.



First, you need to open PowerShell and type the following command:




ssh-keygen -t ed25519 -C <seu-email>






replace <your-email> with your GitHub email.



ssh-keygen on windows



After typing the command, you will be prompted to fill in some information, such as the key name and password. You can type any name as long as you don't forget it; in my case, I just pressed enter so that Git would automatically generate the key name and have no password.



With the key generated, you should copy the public key to the clipboard. For this, navigate to the folder where the key was generated (by default it is in the C:\Users\ryans\.ssh folder, as shown in the previous image) and type the following command:




type id_ed25519.pub






and copy the key that appears on the screen.



getting ssh key in windows



Finally, now you need to go to the GitHub settings page and add the key you just copied. here a shortcut for you to go directly to the GitHub SSH keys settings page: SSH Keys Settings Page



here you should go to New SSH key and paste the key you copied earlier.



paste key on github - windows



By clicking on Add SSH key, you will add the SSH key to GitHub.



Now, just test if the key was added correctly and clone any repository you have access to, always using the SSH address. To test if the key was added correctly, you can type the following command:







if everything goes well, you will see a success message, and you can clone any repository you have access to; in my case, I cloned my own repository.



Testing ssh key - linux" image_title="Testing ssh key - linux" %}






Conclusão



I hope this tutorial has helped you set up your SSH key on github. If you have any questions, you can contact me through the Contact tab on my website.

🔍 CTI & Forensik

Cyber Threat Intelligence & Forensik

Bedrohungsgraph · ATT&CK-Mapping · Exploit-Belege
CTI Threat Relationship Graph
Akteure · Techniken · Beziehungen
4 Knoten · 3 Relationen
CVE / Incident Threat Actor Software MITRE ATT&CK CWE Weakness IoC
MITRE ATT&CK Matrix Navigator
Enterprise-Matrix · nur belegte Techniken
14 Taktiken
1 belegte Technik
T1059TA0002 · Execution
Command and Scripting Interpreter
Mitigation: M1038 Execution Prevention & Script Block Logging
Quelle: Kontext-Klassifikation des Artikeltextes
Reconnaissance
Resource Development
Initial Access
Execution
Persistence
Privilege Escalation
Defense Evasion
Credential Access
Discovery
Lateral Movement
Collection
Command and Control
Exfiltration
Impact
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten SSH key on github - Windows and Linux

Thematisch verwandte Begriffe: github, Windows, Linux · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

💬 Kommentare werden geladen…
Zum Aktualisieren ziehen
tsecurity.de Icon
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag