Adding a new Virtuozzo node to Expand fails with the SSH Authentification failed error.

Article ID: 5224 
Last Review: Oct,6 2008
Author: APPLIES TO:
  • Expand 2.x

Symptoms

Adding a new Virtuozzo 4 node to Expand fails with the error:

ACTION OUTPUT ------------- <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<packet version="2.2.4.1">
<add>
<system>
<status>error</status>
<errcode>9001</errcode>
<errtext>[SSH] Authentification failed. Username/PublicKey combination invalid</errtext>
</system>
</add>
</packet>

Resolution

Login to Expand via SSH and copy Expand SSH key to the Virtuozzo hardware node:
# scp /usr/local/expand/etc/.ssh/id_rsa.pub root@virtuozo_node_ip:/root/expand_rsa.pub


Login to the Virtuozzo hardware node via SSH and add Expand SSH key (expand_rsa.pub) to to authorized_keys2 in the Service Container (container with ID 1):
# cat expand_rsa.pub >> /vz/private/1/root/home/vzagent0/.ssh/authorized_keys2


Try to add the Virtuozzo node to Expand.

Note, this issue will be fixed in Expand 2.3.


Subscription for this article changesSubscription for this article changes

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields