Home
Blog
TutorialsEventsProjectsAboutContact

Menu

Departures

Latest posts

  1. 18 NOVDRNBRINC Luncurkan Aplikasi iOS LiveOps untuk Petugas Tanggap DaruratOn time7 min
  2. 18 NOVDRNDJI Enterprise Beberkan Pemanfaatan Drone Otonom untuk Manajemen Lalu LintasOn time5 min
  3. 16 NOVNWSBeijing Resmi Larang Kepemilikan dan Operasi Drone di Seluruh Wilayah KotaOn time6 min
  4. 15 NOVNWSPesawat Komersial Listrik COMAC CE-25A Sukses Uji Terbang BerawakOn time3 min
  5. 15 NOVNWSAtraksi 150 Drone Buka Porprov VIII Kalimantan Timur di PaserOn time6 min
All departures
Cara Menambah SSH Key ke GitHub

WDELogbook entry· 3 min read

Cara Menambah SSH Key ke GitHub

Langkah mudah menambahkan SSH Key ke GitHub agar proses clone, push, dan pull lebih aman dan praktis.

Liu Purnomo
Oleh Liu PurnomoWritten on 11 May 2020
Web Development
Comment
Add as a preferred source on GoogleSee more stories from this site on Google
3 min read

Sponsored

Add as a preferred source on GoogleSee more stories from this site on Google

Flight Briefing · Newsletter

Enjoyed this? Get the next article by email.

No spam. Unsubscribe anytime with the link in every email.

NOTAMContent noticeREF C1090
Q)

Info only · Claim, credit, or removal on request

E)

Artikel ini dibuat untuk tujuan informasi. Kalau kamu pemilik gambar atau konten di halaman ini dan ingin mengklaim, meminta kredit, atau meminta penghapusan, saya terbuka untuk permintaan itu. Silakan hubungi saya.

This article is shared for informational purposes. If you own an image or content on this page and would like to claim it, request credit, or ask for its removal, I am open to that. Please contact me.

Contact tower[email protected]WhatsAppFull notice

Frequencies

  • #GitHub
  • #Web Development

Sponsored

Liu PurnomoCallsign · LPLiu Purnomo

Founder of Drone Indonesia, director of Remote Pilot Indonesia, software engineer, and author of three books on drones.

More about me
seedbacklinkDMCA.com Protection StatusBanner BlogPartner Backlink.co.id

NAVExplore

  • Home
  • Blog
  • Tutorials
  • Events
  • Projects
  • Books & Ebooks

INFAbout

  • About Me
  • Work With Me
  • Contact
  • Guestbook
  • Bio Links
  • Buy Me a Coffee

SYSOthers

  • Changelog
  • Systems
  • Sitemap
  • GSD Calculator
  • QR Code Generator

Flight Briefing · Newsletter

Hand-picked articles, straight to your inbox.

Fresh notes on drones, aviation regulations, and software. Sent only once in a while.

No spam. Unsubscribe anytime with the link in every email.

0927

Tower online · Jakarta (WIB)

© 2026 Liu Purnomo. Some rights reserved.

Privacy PolicyTerms of UseContent Notice
Follow new posts

Unless stated otherwise, writing on this site is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0). You may quote, copy, republish, and cite it, including for commercial use, as long as you credit Liu Purnomo as the author and link to the original article. Third-party photos and materials, logos, and trademarks are excluded. Full terms

0
0

Table of Contents

---

What is an SSH Key?

An SSH Key is a pair of cryptographic keys used to authenticate your computer to GitHub. The public key is shared with GitHub, while the private key stays safe on your device. This method is more secure and convenient than using passwords.

Backlink DoFollow dan NoFollow untuk SEO Website

Read also

Backlink DoFollow dan NoFollow untuk SEO Website

Web Development · 13 min read

---

Step 1: Generate SSH Key

First, you need to generate a new SSH Key. Open your terminal and run:

Sponsored

Press enter again to use the default file location. Then you'll see:

Enter a passphrase for extra security (optional, but recommended). If you set a passphrase, you'll be asked for it every time you use the key. If you leave it empty, you won't be prompted.

You'll get a confirmation like this:

Cara Menulis Variabel di TypeScript yang Benar dan Rapi

Read also

Cara Menulis Variabel di TypeScript yang Benar dan Rapi

Web Development · 13 min read

Back to top

---

Step 2: Add SSH Key to GitHub

!SSH Key

Sponsored

After generating your SSH Key, you need to add the public key to GitHub. In your terminal, run:

You'll see output like this:

Copy all the text that appears. Then go to github.com and log in to your account.

Read also

Ringkasan Isi Blog Ini

Web Development · 21 min read

Back to top

---

Sponsored

Step 3: Test Your SSH Key

!SSH Key

Now, let's test your SSH Key by cloning a repository. Go to your GitHub repo, click the Code button, select SSH, and copy the URL.

Open your terminal and run:

Read also

Petunjuk Menulis Blog

Web Development · 3 min read

Fuel the next flight

Enjoyed this article?

If this article helped, buy me a cup of coffee. Your support keeps me writing and sharing more.

Buy me a coffee

Type yes and press enter. If you see this:

Enter your passphrase if you set one. If successful, you've now accessed your GitHub repository using SSH Key!

Comments

Have a question, a correction, or your own experience with this topic? Leave it here, no account needed.

Reviewed before it appears. Orto post right away.

No comments yet. Be the first to comment!

Crew ID · Flight deckCaptain
Photo of Liu Purnomo

Written by

Liu Purnomo

Liu Purnomo is the founder of Drone Indonesia, a certified drone instructor, and the author of two reference books, DRONE and The Remote Pilot. His work centers on unmanned aviation standards and airspace safety. He also works as a GIS and remote sensing analyst and teaches the subject, and his background as a software engineer helps him turn spatial data workflows into tools people can actually use.

Callsign
LPI
Handle
@liupurnomo
Home base
Jakarta, Indonesia
On dutyView profile
Connecting flights

Related posts

More articles headed the same way as this one.

  1. Gate 01WDEWDE19 Oct 2026Backlink DoFollow dan NoFollow untuk SEO WebsiteBacklink dofollow dan nofollow menentukan cara mesin pencari mengalirkan otoritas antarhalaman web. Pelajari perbedaan teknis, fungsi link juice, serta cara memasang tag HTML yang benar untuk optimasi SEO.Via #Web Development13 min1views0commentsDuration13min readBoarding
  2. Gate 02WDEWDE18 Oct 2026Cara Menulis Variabel di TypeScript yang Benar dan RapiPelajari cara menulis variabel di TypeScript secara lengkap mulai dari anotasi tipe data, inferensi otomatis, hingga penerapan objek dan immutabilitas.Via #Web Development13 min1views0commentsDuration13min readBoarding
  3. Gate 03WDEWDE15 Jul 2025Ringkasan Isi Blog IniPanduan lengkap untuk navigasi semua konten blog, dari dasar drone hingga tutorial web development.Via #Web Development21 min283views0commentsDuration21min readBoarding
  4. Gate 04WDEWDE15 Jul 2025Petunjuk Menulis BlogPanduan ini akan membantu Anda memahami cara menulis artikel blog yang efektif dan menarik di platform ini dengan format mdx file.Via #Web Development3 min226views0commentsDuration3min readBoarding
  1. WPT 01Table of Contents
  2. WPT 02What is an SSH Key?
  3. WPT 03Step 1: Generate SSH Key
  4. WPT 04Step 2: Add SSH Key to GitHub
  5. WPT 05Step 3: Test Your SSH Key

Sponsored

Departures

Latest posts

  1. 18 NOVDRNBRINC Luncurkan Aplikasi iOS LiveOps untuk Petugas Tanggap DaruratOn time7 min
  2. 18 NOVDRNDJI Enterprise Beberkan Pemanfaatan Drone Otonom untuk Manajemen Lalu LintasOn time5 min
  3. 16 NOVNWSBeijing Resmi Larang Kepemilikan dan Operasi Drone di Seluruh Wilayah KotaOn time6 min
  4. 15 NOVNWSPesawat Komersial Listrik COMAC CE-25A Sukses Uji Terbang BerawakOn time3 min
  5. 15 NOVNWSAtraksi 150 Drone Buka Porprov VIII Kalimantan Timur di PaserOn time6 min
All departures

SSH Key is a secure protocol that allows you to access your GitHub repositories without entering your username and password every time. It consists of two parts: a public key (added to GitHub) and a private key (kept on your computer). This guide will walk you through the process of adding an SSH Key to GitHub, step by step, so you can push and pull code more securely and efficiently. Setelah setup SSH Key selesai, Anda bisa mempelajari Git Flow untuk pemula untuk workflow yang lebih terstruktur.

  • What is an SSH Key?
  • Step 1: Generate SSH Key
  • Step 2: Add SSH Key to GitHub
  • Step 3: Test Your SSH Key
zsh — 100x30
1ssh-keygen -t rsa -C "[email protected]"

Replace youexample.com with your GitHub email. Press enter and you'll see something like:

zsh — 100x30
1Generating public/private rsa key pair.
2Enter file in which to save the key (/Users/you/.ssh/id_rsa):
zsh — 100x30
1Enter passphrase (empty for no passphrase):
2Enter same passphrase again:
zsh — 100x30
1Your identification has been saved in /Users/you/.ssh/id_rsa.
2Your public key has been saved in /Users/you/.ssh/id_rsa.pub.
3The key fingerprint is:
4SHA256:randomTeXTSSHforYOuG!thub543dsasasasasa [email protected]
5+---[RSA 2048]----+
6| =*o+o. |
7| +o+o+ |
8| o+o+ |
9| o+o . |
10| o.S |
11| . o |
12| . |
13+----[SHA256]-----+
zsh — 100x30
1cat ~/.ssh/id_rsa.pub
zsh — 100x30
1ssh-rsa randomTeXTSSHforYOuG!thub543dsasasasasaandMOreManyText= [email protected]

1. Click your profile icon (top right) and go to Settings. 2. In the left menu, click SSH and GPG keys. 3. Click New SSH key. 4. Enter a Title (e.g. your computer name). 5. For Key Type, choose Authentication Key. 6. Paste your copied key into the Key field. 7. Click Add SSH key.

zsh — 100x30
1git clone [email protected]:user-name/private-ssh-url.git

Replace user-name with your GitHub username and private-ssh-url with the URL you copied. Press enter. If you see this:

zsh — 100x30
1Cloning into 'your-repo'...
2The authenticity of host 'github.com (20.205.243.166)' can't be established.
3ED25519 key fingerprint is SHA256:sekianSekianSekiannnnnnnn.
4This key is not known by any other names.
5Are you sure you want to continue connecting (yes/no/[fingerprint])?
zsh — 100x30
1Enter passphrase for key '/c/Users/fse1/.ssh/id_rsa':