美文网首页
How to avoid being asked passphr

How to avoid being asked passphr

作者: 落魄平生 | 来源:发表于2017-06-26 23:25 被阅读0次

You need to use an ssh agent. Short answer: try

$ ssh-add

before pushing. Supply your passphrase when asked.
If you aren't already running an ssh agent you will get the following message:

Could not open a connection to your authentication agent.

In that situation, you can start one and set your environment up thusly

eval $(ssh-agent)

Then repeat the ssh-add command.
It's worth taking a look at the ssh agent manpage.

相关文章

网友评论

      本文标题:How to avoid being asked passphr

      本文链接:https://www.haomeiwen.com/subject/jxlscxtx.html