Yesterday I found out about existence of such thing as git.I need to access a remote repository with ssh.I used command $ git clone git@forest.com:stranger@gmail.com
. But when I use this , it says it's cloning and then requires a password. Though I have secret and pub keys in ~/.ssh.And also I have a config file, that looks like this:
Host forest
User git
HostName forest.com
Port 22
IdentityFile ~/.ssh/<stranger@gmail.com>.key
Can you ppl give me a tip, how can I access this remote repository and why I need this config file, and what can I do with it?