SSH problems with clicking git

I am trying to create a git repository on Assembla (assemblyla.com) and I am having trouble creating the first "push". I am pretty unaware of git, but was previously successfully ported to the github repository. I am using git on Windows Vista. When I run git bash from the appropriate directory and press "git push", I get:

The authenticity of host 'git.assembla.com (64.250.188.42)' can't be established. RSA fingerprint is 31:06:...(omitted)...:07:e6. Are you sure you want to continue connecting (yes/no)? 

Entering "yes" does not fit, it does not accept a passphrase.

I know this has something to do with SSH keys, but I can't figure out what might be wrong with mine. My git name and email address on my local computer are the same as the names I entered in Assembla, and I tried to create a new SSH key and load the id_rsa.pub file into Assembla without any consequences.

This forum appeared in search: http://forum.assembla.com/forums/3/topics/2754

As far as I can tell, none of the suggestions raised by the administrator in the last message applies. 1 and 2 should not be applied because it is a vanilla account on the site and I have not changed any settings. 3, 4, and 5 I suppose I did. 6 I did, although I deleted the line "GSSAPIAuthentication" because it generated an additional error message.


NB. I have another open-ended question about StackOverflow regarding Git. This question is not related to another Windows machine. I did not leave my other question.


Edit:

The output of ssh -v git@git.assembla.com :

 $ ssh -v git@git.assembla.com OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007 debug1: Reading configuration data /c/Users/Philip/.ssh/config debug1: Applying options for git.assembla.com debug1: Connecting to git.assembla.com [64.250.188.42] port 22. debug1: Connection established. debug1: identity file /c/Users/Philip/.ssh/id_rsa.pub type 1 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1p1 Debian-5-assembla debug1: match: OpenSSH_5.1p1 Debian-5-assembla pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_4.6 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-cbc hmac-md5 none debug1: kex: client->server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY The authenticity of host 'git.assembla.com (64.250.188.42)' can't be established. RSA key fingerprint is 31:06:3b:0d:cd:23:1a:41:dc:f2:c5:7d:9c:24:07:e6. Are you sure you want to continue connecting (yes/no)? 

The output of git remote -v :

 $ git remote -v origin git@git.assembla.com :ksv.git (fetch) origin git@git.assembla.com :ksv.git (push) 

Password request:

 $ git push The authenticity of host 'git.assembla.com (64.250.188.42)' can't be established. RSA key fingerprint is 31:06:3b:0d:cd:23:1a:41:dc:f2:c5:7d:9c:24:07:e6. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'git.assembla.com,64.250.188.42' (RSA) to the list of known hosts. Enter passphrase for key '/c/Users/Philip/.ssh/id_rsa.pub': 
+4
source share
1 answer

The error message shows that the problem is that you are specifying your public key ( id_dsa.pub ) as IdentityFile in your .ssh/config file instead of your private key, which will simply be id_dsa .

The questionnaire confirmed in the comments above that this was a problem.

+3
source

All Articles