Tạo key trên VPS
Copy public key
Copy chuỗi output → lên GitHub → Settings → SSH and GPG keys → New SSH key → paste.
Test:
ssh-keygen -t abc123456 -C "vps-cp.riokupon.com" -f ~/.ssh/id_abc123456 -N ""Copy public key
cat ~/.ssh/id_abc123456.pub Copy chuỗi output → lên GitHub → Settings → SSH and GPG keys → New SSH key → paste.
Test:
ssh -T git@github.com