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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM