跳转至

使用特定密钥访问github

创建密钥

ssh-keygen -t ED25519

配置ssh config

~/.ssh/config
Host github.com
    HostName github.com
    User git
    IdentityFile ~/.ssh/github_ed25519

测试