【发布时间】:2022-10-21 13:45:09
【问题描述】:
我在我的服务器上生成了一个id_ed25519 密钥并将其设置在Gitlab 中,当我尝试使用SSH 连接时,我收到了欢迎消息,但是当使用git pull 时,它仍然需要凭据(用户名和密码)。
$ ssh -T git@gitlab.com
Welcome to GitLab, @john.doe!
$ git pull
Username for 'https://gitlab.com': john.doe
Password for 'https://john.doe@gitlab.com':
Already up to date.
我的配置中缺少什么?
【问题讨论】:
标签: gitlab