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

posted on 2016-10-24 10:56  小木板  阅读(10143)  评论(0)    收藏  举报

导航