ssh-agent

第一:将私钥导入

第二:ssh-agent bash

第三:ssh-add

第四:连接  ssh -A   ip

原文地址:https://www.cnblogs.com/yangxiaochu/p/9796981.html