arungupta
|
Posted: October 20, 2009 19:42 by arungupta
|
|
Pushing the changes to git repository in my project gives: ~/workspaces/glassfish-cloud >git push origin master Permission denied (publickey,keyboard-interactive). fatal: The remote end hung up unexpectedly http://kenai.com/jira/browse/KENAI-1021 seems like a related bug. Any idea ? -Arun |
"Permission denied (publickey,keyboard-interactive)" pushing changes to master
117 topics, 458 posts
» Share this
Replies: 17 - Last Post: January 18, 2010 22:00
by: Petr_Jiricka
by: Petr_Jiricka
showing 1 - 18 of 18
john_brock
|
Posted: October 20, 2009 22:15 by john_brock
|
|
Someone is looking into it now Arun. Sorry for the troubles. Hope to have something for you in a few... --jb The Project Kenai Team |
Frederic Jean
|
Posted: October 20, 2009 23:12 by Frederic Jean
|
|
Arun, What project are you working on? It would help us figure out what is happening. I would also like to see the output of the "git remote -v" command. Thanks! |
Edwin Goei
|
Posted: October 21, 2009 01:29 by Edwin Goei
|
|
Hi Arun, It looks like an ssh related problem. Please refer to this post. |
arungupta
|
Posted: October 21, 2009 04:39 by arungupta
|
|
Tried and got the following error: -- cut here -- ~/workspaces/glassfish-cloud >ssh arungupta@kenai.com The authenticity of host 'kenai.com (64.79.150.44)' can't be established. RSA key fingerprint is 16:f9:7f:31:91:63:5c:84:b0:a5:38:4f:88:7b:7a:41. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'kenai.com' (RSA) to the list of known hosts. Permission denied (publickey,keyboard-interactive). -- cut here -- What should be the value of user name ? -Arun |
Edwin Goei
|
Posted: October 21, 2009 23:41 by Edwin Goei
|
|
Your username should be "arungupta" so the test command looks correct. The output means that the public key that you uploaded to your kenai.com profile does not match the private key in your local account. You could try to remove and add your public key again. For example, if you have an RSA key, the contents of ~/.ssh/id_rsa.pub should be placed in your kenai.com Profile->"SSH Keys" tab. My profile page containing two keys looks like this. As for the other output, the question about the authenticity of 'kenai.com' is normal and you're supposed to manually check the fingerprint of the server before adding it to your local known_hosts file (though few people do). Also, the other information that Marco has posted about using ssh-agent is independent of the authentication problem you are having. The ssh-agent allows you to use ssh without having to re-type your passphrase every time. I would first figure out if your public key is correct and then get ssh-agent to work. (Some people do not use ssh-agent and also no passphrase, which is not recommended.) |
mw46d
|
Posted: October 21, 2009 21:24 by mw46d
|
|
marcow@feather3:~$ ssh mw46d@kenai.com The authenticity of host 'kenai.com (64.79.150.44)' can't be established. RSA key fingerprint is 16:f9:7f:31:91:63:5c:84:b0:a5:38:4f:88:7b:7a:41. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'kenai.com' (RSA) to the list of known hosts. Invalid command: ? Connection to kenai.com closed. marcow@feather3:~$ env | fgrep SSH SSH_AGENT_PID=4397 SSH_AUTH_SOCK=/tmp/ssh-WDxEXL4335/agent.4335 marcow@feather3:~$ unset SSH_AUTH_SOCK marcow@feather3:~$ ssh mw46d@kenai.com Permission denied (publickey,keyboard-interactive). |
arungupta
|
Posted: October 21, 2009 21:45 by arungupta
|
|
Not sure how to read this post but "env | fgrep SSH" only shows following on my machine: SSH_AUTH_SOCK=/tmp/launch-xyDny4/Listeners And I've never seen "Invalid command: ? Connection to kenai.com closed." in my environment. And "ssh arungupta@kenai.com" is still giving: Permission denied (publickey,keyboard-interactive). |
Edwin Goei
|
Posted: October 22, 2009 00:02 by Edwin Goei
|
| The current versions of ssh that I am aware of do not rely on ssh-agent so I would first try to get past the authentication problem. I've also seen some good docs elsewhere on setting up ssh. Everything is the same except you would add your public key to your kenai.com profile. Also, the optional verification step is described here. |
Petr_Jiricka
|
Posted: January 18, 2010 22:00 by Petr_Jiricka
|
|
I am hitting the same problem as Arun. I don't see a resolution of his problem in this thread, so here is what worked for me: > So how do I add my private key to this list now ? ssh-add. After that I could login to Kenai and push my code. |
showing 1 - 18 of 18
Replies: 17 - Last Post: January 18, 2010 22:00
by: Petr_Jiricka
by: Petr_Jiricka












