我在Bitbucket上有一个测试站点的代码库
SSH
git@bitbucket.org:rkim/rkim-app.git
我的当前git配置文件
cat .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = git@bitbucket.org:rkim/rkim-app.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[credential]
helper = store
git config --list
user.name=Ryan Kim
user.email=rkim@outlook.com
credential.helper=cache --timeout=3600
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=git@bitbucket.org:rkim/rkim-app.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
credential.helper=store
我尝试了这里的所有建议,但仍然提示我输入我的passphrase。
git pull
输入密钥'/root/.ssh/id_rsa'的passphrase:
如果还需要其他信息,请告诉我。
有人能否结束这个问题?
我还需要查看其他内容吗?
我需要重新启动SSH服务或VM吗?
ssh-keygen -p -P old_passphrase -N "" -f ~/.ssh/id_rsa
对我来说只有在我将id_rsa
复制到一个临时文件中,清除了该临时文件上的密码,然后删除原始文件并将临时文件重命名为id_rsa
后才起作用。现在对我来说可以使用了。 - bikeman868