Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Sep 2003
    Posts
    10

    Default Establish a Trust Relationship with a Primary Nameserver

    Hey,

    I just got my 3th WHM/cPanel server.
    One is a master nameserver that works fine, now, my new server I want that it becomes the ns2, so when I change, add or something, my ns records are on both servers the same.

    Now, I tried true WHM from my new server (ns2) to establish a trust relationship with a Primary Namserver.

    but when I do this I get the following:

    Generating public/private rsa key pair.
    /root/.ssh/id_rsa already exists.
    Overwrite (y/n)? Generating public/private dsa key pair.
    /root/.ssh/id_dsa already exists.
    Overwrite (y/n)? spawn scp /root/.sshscript root@xx.xxx.xx.xxx:/root/.sshscript

    root@xx.xxx.xx.xxx's password: Sending Password


    Permission denied, please try again.

    I read on the cpanel forums it connects true ssh, now, root may not connect by default when using an ssh session.

    Is there a way I still can do this? like a cron job that runs every day to pick up the values from ns1 and loads them into the ns2 ?

    if so, how?

  2. #2
    Member
    Join Date
    Sep 2003
    Posts
    10

    Default

    really no one with the same problem or a sollution?

  3. #3
    Member
    Join Date
    Oct 2001
    Posts
    30

    Default

    I have exactly the same problem like you. After take hours to examine the CPanel script. I found that it tried to transfer file via ssh and required root login.

    My system was not permit root login and this caused permission denied as you said.

    Try edit your /etc/ssh/sshd_config from

    PermitRootLogin no

    to

    PermitRootLogin yes

    and try restart your sshd service by issue

    service sshd restart

    Hope this help.

    Kiat.

Similar Threads & Tags
Similar threads

  1. trust relationship
    By serv_co_za in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-27-2005, 04:51 PM
  2. Trust Relationship
    By CRego3D in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-22-2004, 05:18 AM
  3. Establish Trust Realationship with primary server
    By rix in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-08-2003, 03:17 AM
  4. Establish A Trust Relationship problem
    By HOSTFORWEB in forum cPanel and WHM Discussions
    Replies: 19
    Last Post: 04-19-2002, 07:49 PM
  5. How To Establish A Trust Relationship With a Primary Nameser
    By surfturtle in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-16-2002, 08:53 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube