Logo

dev-resources.site

for different kinds of informations.

SSH kalitini Github.com'ga qo'shish

Published at
10/21/2024
Categories
ssh
github
Author
muhammad_khodjaev
Categories
2 categories in total
ssh
open
github
open
Author
17 person written this
muhammad_khodjaev
open
SSH kalitini Github.com'ga qo'shish

Ushbu maqolada SSH kaliti yo'q bo'lsa yangisini ochish va bor bo'lsa Github.com profilimizga qo'shishni ko'rib chiqamiz.

1-bosqich Kompyuterda SSH bormi yoki yo'qmi tekshirish

  1. Kompyuterimizda Git Bash'ni ochamiz.
  2. ls -al ~/.ssh mana shu komandani kiritamiz.
  3. Agarda sizning kompyuteringizda allaqachon SSH key bo'lsa quyidagi fayllardan biri bo'ladi: id_rsa.pub id_ecsda.pub id_ed25519.pub

Agarda sizda ushbu fayllardan biri bo'lsa, 4-bosqichga o'tib ketavering! Agarda bo'lmasa, hozir 2 va 3 chi bosqichlarda yangisini ochishni o'rganamiz.

2-bosqich Kompyuterda yangi SSH ochish

  1. Git Bash'ni ochamiz
  2. ssh-keygen -t ed25519 -C "[email protected]" mana shu komandani kiritamiz. > Qo'shtirnoq ichiga Github profilingiz ulangan pochta manzilini kiritasiz. (qo'shtirnoq olib tashlanmaydi)
  3. SSH'ni saqlash uchun fayl so'raydi. Default holatda berilgan faylga saqlash uchun shunchaki enter'ni bosishingiz kifoya.
  4. Ana endi "Enter passphrase" so'raydi ya'ni kod. Esingizda qoladigan kodni kiritasiz
  5. Va kiritgan kodingizni yana bir bor kiritasiz.

3-bosqich SSH'ni ssh-agent'ga qo'shish

  1. PowerShell'ni ochamiz.
  2. ssh-add c:/Users/YOU/.ssh/id_ed25519 mana shu komandani kiritamiz

Users va YOU degan joyga o'zingizning kompyuteringizdagi fayl nomlarini kiritishingiz esingizdan chiqmasin!

4-bosqich Github.com'ga kirib SSH ni qo'shish

  1. PowerShell'ni ochamiz
  2. cd .ssh qilib SSH joylashgan faylga kiramiz
  3. code . qilib VS Code'da ochib olamiz
  4. Kirib .pub bilan tugagan faylga kiramiz va nima bor bo'lsa ushani ko'chirib olamiz (oxirida sizning Github'ga ulangan pochta manzilingiz bo'lishi kerak)
  5. Github.com'ga kiramiz va settings qismiga o'tib SSH and GPG keys bo'limiga kiramiz
  6. NEW SSH key'ni bosamiz
  7. Title degan joyga SSH uchun nom beramiz, masalan Muhammad's SSH Key
  8. Key degan joyga .pub bilan tugagan fayldan olgan uzuuun yozuvimizni paste qilamiz
  9. Add SSH key'ni bosamiz
  10. Sizdan github profilingizning parolini so'rashi mumkin, uni kiritamiz

Tabriklayman, siz SSH'ni muvaffaqiyatli qo'shdingiz!

Xurmat bilan,
Muhammad Khodjaev

ssh Article's
30 articles in total
Favicon
How to Set Up Key-Based and Password-Based SSH for a Newly Created User on an EC2 Instance
Favicon
SSH Keys | Change the label of the public key
Favicon
่ฎฉๅฎ‰ๅ“ๆ‰‹ๆœบไธๅ†ๅƒ็ฐ๏ผšๅœจๅฎ‰ๅ“ๆ‰‹ๆœบไธŠๆญๅปบ Rust ๅผ€ๅ‘็Žฏๅขƒ
Favicon
SSH port forwarding from within code
Favicon
Mastering Ansible on macOS A Step by Step Guide
Favicon
kkTerminal โ€”โ€” A terminal for Web SSH connection
Favicon
Set Up SSH in 1 Minute Setup Like a Pro (With Some Fun Along the Way)
Favicon
How to Configure GitHub Authentication Using SSH Certificates
Favicon
Understanding SSH: Secure Shell Protocol
Favicon
Check gitlab ssh key auth
Favicon
How I Secured Port 22
Favicon
SSH port forwarding from within Raku code
Favicon
Changing an established SSH connection without disconnecting
Favicon
SSH port forwarding from within Rust code
Favicon
Configure SSH Passwordless Login from Windows to Linux
Favicon
Push to multiple GitHub accounts!
Favicon
Access to Google Cloud Virtual Machine through SSH
Favicon
Large file transfer from VPS to local machine
Favicon
Secure Your Ubuntu VPS: Restrict SSH Access to a Specific IP
Favicon
Accessing Remote Databases Without VPN Using SSH Tunnels
Favicon
Carla Simulator 1 : How to Set Up CARLA Simulator ๐ŸŽ๏ธ๐Ÿ”ฅ
Favicon
Getting Started with Oysape: Exploring Task and Pipeline
Favicon
Increase Debian based Linux VPS serverโ€™s security
Favicon
Splunk - SSH Dashboard Creation
Favicon
Debugging SSH connections: A Comprehensive Guide
Favicon
Understanding SSH Key Pairs: A Developer's Guide
Favicon
SSH Config File - Forgotten Gem
Favicon
SSH kalitini Github.com'ga qo'shish
Favicon
Using SSH to Connect Local Git to Remote Repositories
Favicon
Quickly and Easily Manage Multiple SSH and GPG Keys Across Git Repositories

Featured ones: