Did you check that the password you input it correct.
ssh hpcnode02    date
It should prompt for the password,  enter it and see if the ssh completes

If that works,  then just try the updatenode hpcnode02 -k and see if that
does the trick.

You said one of the users ran ssh-keygen .  They were running as root when
they ran the the ssh-keygen?

Lissa K. Valletta
8-3/B10
Poughkeepsie, NY 12601
(tie 293) 433-3102





From:   Jack Singh <[email protected]>
To:     "[email protected]"
            <[email protected]>,
Date:   08/06/2013 01:52 PM
Subject:        Re: [xcat-user] ssh keys corruption




I followed your procedure but it didn't work, here is the output

root@hpcmgmt:~# xcatconfig -k
Removed id_rsa files from /root/.ssh directory.
Generated /root/.ssh/id_rsa.pub.
Copied /root/.ssh/id_rsa.pub to /install/postscripts/_ssh/authorized_keys.
root@hpcmgmt:~# xcatconfig -s
Generating new node hostkeys...
Generating SSH1 RSA Key...
Generating SSH2 RSA Key...
Generating SSH2 DSA Key...
root@hpcmgmt:~# xdsh hpcnode01 -K
Enter the password for the userid: root on the node where the ssh keys
will be updated:

Error: SSH setup failed for the following nodes: hpcnode01.
return code = 1
root@hpcmgmt:~# xdsh hpcnode02 -K
Enter the password for the userid: root on the node where the ssh keys
will be updated:

Error: SSH setup failed for the following nodes: hpcnode02.
return code = 1




What you want to do is on the Management node run xcatconfig -k   and  then
xcatconfig -s.   This will regenerate the root ssh keys and the ssh common
hostkeys for the nodes and put it in the right places for xCAT.
Then run xdsh <noderange> -K to your nodes.
  It will prompt you for the root password, but after that will setup the
ssh keys on the nodes so you will be able to run xdsh and psh with out a
password.
Then test with
 xdsh <noderange> date


Lissa K. Valletta
8-3/B10
Poughkeepsie, NY 12601
(tie 293) 433-3102





From:            Jack Singh <[email protected]>
To:              "[email protected]"
            <[email protected]>,
Date:            08/06/2013 01:07 PM
Subject:                 [xcat-user] ssh keys corruption



I have xcat 2.8.2 server running on Ubuntu 12.04 server.
My nodes are Ubuntu12.02 also
One of the users regenerated ssh keys on the management server and on the
nodes using the two following commands ssh-keygen -t dsa ssh-keygen -t rsa

Now the xdsh , pscp commands wont work.
So I copied the keys in /etc/xcat/hostkeys over to one of the node01 Did
ssh-copy-id of the root keys to node01 but I get the following errors while
trying to do that.

xdsh node01 -K
Enter the password for the userid: root on the node where the ssh keys will
be updated:

Error: SSH setup failed for the following nodes: hpcnode01.
return code = 1

How can I setup keys over again ?
------------------------------------------------------------------------------


Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available

------------------------------

------------------------------------------------------------------------------

Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk

------------------------------

_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user


End of xCAT-user Digest, Vol 48, Issue 20
*****************************************

------------------------------------------------------------------------------

Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to