且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

暂时删除shell脚本中的ssh私钥密码

更新时间:2023-12-05 17:53:40

签出ssh-agent.它缓存密码短语,因此无论您有多少会话,都可以在一定时期内使用密钥文件.

Check out ssh-agent. It caches the passphrase so you can use the keyfile during a certain period regardless of how many sessions you have.

此处是有关ssh-agent的更多详细信息.