gitosis public key

Posted by mbursill on Server Fault See other posts from Server Fault or by mbursill
Published on 2011-01-17T19:47:43Z Indexed on 2011/01/17 19:55 UTC
Read the original article Hit count: 205

Filed under:
|
|
|
|

On my client I am attempting to run:

git clone gitosis@DevServer:gitosis-admin.git

I get a warning:

The authenticity of host '10.1.1.13 (10.1.1.13)' can't be established. RSA key fingerprint is a2:c3:fd:d7:f7:75:df:dd:49:64:ce:64:cc:98:e6:2c. Are you sure you want to continue connecting (yes/no)?

It appears to be picking up the public key from:

/etc/ssh/ssh_host_rsa_key.pub

I want it to use the key located in:

/srv/gitosis/.ssh/authorized_keys

How do I get my server to hand out the correct public key?

© Server Fault or respective owner

Related posts about ubuntu

Related posts about ssh