ssh-add命令

ssh-add命令是把专用密钥添加到ssh-agent的高速缓存中。该命令位置在/usr/bin/ssh-add

➜  ydoc git:(v2.0.0) ✗ sudo ssh-add ~/.ssh/id_rsa
Password:
Enter passphrase for /Users/wanglili/.ssh/id_rsa:
Identity added: /Users/wanglili/.ssh/id_rsa (/Users/wanglili/.ssh/id_rsa)

参考: linux命令大全 http://man.linuxde.net/ssh-add

原文地址:https://www.cnblogs.com/yingwo/p/5992156.html