شرح صفوف ومحتوى الفقرة
بعد توليد الزوج وإضافته إلى وكيل المفاتيح ssh-agent، اعرض محتوى المفتاح العام بالأمر cat ~/.ssh/id_ed25519.pub والصقه في إعدادات حسابك على GitHub، ثم اختبر نجاح المصافحة المشفرة بالأمر ssh -T [email protected].
Shell
# Display the public key (.pub) to copy into GitHub
cat ~/.ssh/id_ed25519.pub
# Test SSH authentication handshake with GitHub
ssh -T [email protected]
# Hi closetag-dev! You have successfully authenticated.