githubのssh接続とは

 

 

 

 

name:Alamofire name$ git clone git@github.com:Alamofire/Alamofire.git

Cloning into 'Alamofire'...

Warning: Permanently added the RSA host key for IP address '192.30.000.000' to the list of known hosts.

no such identity: id_rsa: No such file or directory

Permission denied (publickey).

fatal: Could not read from remote repository.

 

Please make sure you have the correct access rights

--------------------------------------------------------------

 

eval $`ssh-agent -s`

ssh-add ~/.ssh/id_rsa

 

------------------------------------

 

 

なんかこれでいけた