From: Linus Torvalds Date: Wed, 08 Feb 2006 23:50:56 GMT Subject: Re: git + ssh + key authentication feature-request Message-ID: In-Reply-To: <43EA8DDA.3070906@iaglans.de> On Thu, 9 Feb 2006, Nicolas Vilz 'niv' wrote: > > So, how do i tell git to send my identity-file to sshd? And could I set an > alias like in .git/remotes for that location / identity? Use a "fake host". Ie, let's say that your project is "project@host.com", then make each user just have in their .ssh/config: host project.host.com User project HostName host.com IdentityFile /home/myhome/project-key and there you are. Just use "project.host.com:repo-name" as the thing you pull and push from. (Yeah, I forget the exact ssh config file format, so you should double-check that.) Linus