"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
showing 1 - 18 of 18
 
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
 
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
 
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!
 
Posted: October 20, 2009 23:58 by arungupta
"glassfish-cloud" it's a private project.

"git remote -v" shows:

origin ssh://arungupta@git.kenai.com/glassfish-cloud~src
 
Posted: October 21, 2009 01:29 by Edwin Goei
Hi Arun,

It looks like an ssh related problem. Please refer to this post.
 
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
 
Posted: October 22, 2009 00:00 by arungupta
Reloading my ssh key did the trick ... phew!

I just made my first git commit ever, and that too on kenai ... hurray!

Thanks Edwin, Marco & JB for all the help.
 
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.)
 
Posted: October 21, 2009 21:03 by arungupta
Last request for help before I pick my source code repository ?

Sorry, but my code is growing and I don't want to loose it now.

-Arun
 
Posted: October 21, 2009 21:20 by mw46d
Did you actually add your private key to your session?? I see such a message when the private key is not available in the ssh-agent??
 
Posted: October 21, 2009 21:38 by arungupta
I generated the ssh public key and added to my kenai profile as described at:

http://kenai.com/projects/help/pages/GeneratingAnSSHKey

How do I add my private-key to the session ?

-Arun
 
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).
 
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).
 
Posted: October 21, 2009 22:51 by mw46d
Does ssh-add -L list your Kenai private key ??
 
Posted: October 21, 2009 23:33 by arungupta
It says "The agent has no identities."

So how do I add my private key to this list now ?
 
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.
 
Posted: October 22, 2009 23:40 by mw46d
On Un*x like systems:

* man ssh -> look for /[Pp]ublic key/
* man ssh-agent
 
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
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20100127.c5638cb)
 
 
loading
Please Confirm