Start by addressing the bad key in /.ssh/known_hosts on the MN.
Edit the file and remove the entry (line) for node1.

Then run your ssh node1 uptime.  It will automatically add a fresh key.
looks like your root keys are ok.  You just have an old host entry in
know_hosts.



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





From:   "m13601078155" <[email protected]>
To:     "[email protected]"
            <[email protected]>
Date:   02/20/2012 07:18 AM
Subject:        [xcat-user] xdsh error



 If run xdsh <node> -K , then I get a RC=1 returned.

 Example:

 [mgmt@root]# xdsh node1 -K
 Enter the password for the userid: root on the node where the ssh keys
 will be updated:

 Error: remoteshell.expect failed sending keys.
 Error: SSH setup failed for the following nodes: node1.
 return code = 1

 The problem is that there is no indication of what the problem is.

 but if ssh <node> date is issued, it will respond indicating the problem

 [mgmt@root]# ssh node1 uptime
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
 Someone could be eavesdropping on you right now (man-in-the-middle
 attack)!
 It is also possible that the RSA host key has just been changed.
 The fingerprint for the RSA key sent by the remote host is
 66:85:91:9e:d2:8b:47:e3:0e:be:23:eb:f8:0b:09:02.
 Please contact your system administrator.
 Add correct host key in /.ssh/known_hosts to get rid of this message.
 Offending key in /.ssh/known_hosts:1
 Password authentication is disabled to avoid man-in-the-middle attacks.
 Keyboard-interactive authentication is disabled to avoid man-in-the-middle
 attacks.
 Fri  8 19:41:19 America/New_York 2012

 2012-02-20

 m13601078155
 ------------------------------------------------------------------------------

 Try before you buy = See our experts in action!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-dev2
 _______________________________________________
 xCAT-user mailing list
 [email protected]
 https://lists.sourceforge.net/lists/listinfo/xcat-user



------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to