Lệnh ssh-keygen: ví dụ tạo SSH key

Ví dụ ssh-keygen thực tế: tạo SSH key Ed25519/RSA, đặt tên file, passphrase, fingerprint, GitHub và kiểm tra đăng nhập server.

  • ssh-keygen is the OpenSSH command-line utility for creating and managing SSH key pairs.
  • The recommended modern command is ssh-keygen -t ed25519 -C "you@example.com".
  • Use ssh-keygen -t rsa -b 4096 only for older systems that do not support Ed25519.
Hướng dẫn thiết lập theo nền tảng
SSH là gì? Hướng dẫn đầy đủ về Secure Shell Khóa SSH là gì? Giải thích về khóa công khai, khóa riêng và cặp khóa Lệnh SSH: Tham khảo đầy đủ với các ví dụ cho Linux, Mac và Windows Cách thiết lập SSH: Hướng dẫn từng bước đầy đủ cho Linux, Mac và Windows Tạo SSH key: công cụ online và lệnh ssh-keygen Lệnh ssh-keygen: ví dụ tạo SSH key
Tạo khóa SSH
English 简体中文 繁體中文 日本語 한국어 Español Português Français Deutsch Русский Italiano Nederlands Polski Svenska עברית Dansk Norsk हिन्दी Tiếng Việt Türkçe Indonesia Suomi Українська العربية ไทย Română Čeština বাংলা Ελληνικά Magyar
Tài nguyên
Tài liệu SSH của GitHub Tài liệu SSH của GitLab SSH Academy SSH Cheat Sheet
Lệnh ssh-keygen: ví dụ tạo SSH key SSH Key Generator: tạo SSH key online