ssh-keygen -t rsa -C "youraccount@com.tw" #建立金鑰

ssh-add ~/.ssh/id_rsa #加入金鑰

ssh-add -l #列出金鑰清單

Error狀況: Could not open a connection to your authentication agent

ssh-agent bash
ssh-add

Permissions 0644 for '/c/Users/HelloWorld/.ssh/id_rsa' are too open.

cd ~/.ssh
chmod 700 id_rsa