Results 1 to 5 of 5

Thread: Trust Relationship

  1. #1
    Member
    Join Date
    Aug 2001
    Posts
    38

    Default Trust Relationship

    I am atempting to establish a trust relationship between 2 CPanel servers, we have doen this with several other servers, and it has worked, this one is giving us this error:

    While establishing the trust:

    spawn scp /root/.sshscript root@xxxxxx.net:/root/.sshscript
    root@xxxxxx.net\'s password: Sending password

    xxxxxxx (password)

    stdin: is not a tty

    .sshscript 0% | | 0 --:-- ETA
    .sshscript 100% |*****************************| 405 00:00


    spawn /usr/bin/ssh root@xxxxxx /bin/sh /root/.sshscript
    root@xxxxxx password:
    stdin: is not a tty
    Script ok
    all done
    its good

    Trust Relationship Created!

    --

    But it doesn\'t .. when I create and account, the DNS entry is not created in the main server, and I get this error

    Added Entries to httpd.conf (noip)
    Added DomainAlias Entry
    Added NamedBoot Entry
    Added Named File
    You have no controlling tty. Cannot read passphrase.
    You have no controlling tty. Cannot read passphrase.
    You have no controlling tty. Cannot read passphrase.
    Added Remote Named File
    Rebuilding DNS Zones List from master server .....
    You have no controlling tty. Cannot read passphrase.
    ndc: connect: connection refused
    Rebuild Complete
    Restarting apache
    Ftp Password Files synced



    Any ideias ?
    Carlos Rego
    UK2 Group

  2. #2
    Member
    Join Date
    Aug 2001
    Posts
    80

    Default

    Carlos:

    Yes, I have an idea. Do you have the latest script called dnstransfer?

    If not, make sure that this line exists in that script:

    system(\"scp -o \\\"Protocol 1,2\\\" $dnsmaster:/etc/named.conf /etc/named.conf\");

    Notice - it is forcing the Protocol 1,2

    That cleared everything up for me.

    (Thanks again Nick!)
    Michael Weinstein
    Exec. Vice President
    WeinBar Communications Corp.
    http://www.weinbar.com

  3. #3
    Member
    Join Date
    Aug 2001
    Posts
    38

    Default

    Thank you .. that did it, but I has asked Nick before .. ho well
    Carlos Rego
    UK2 Group

  4. #4
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    789

    Default

    I have moved up the port of SSH for additional security. How can I modify the transfer script to use that port instead of the default 22?
    Last edited by Solokron; 01-22-2004 at 05:16 AM.

  5. #5
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    789

    Default

    I just ended up modyfing ssh_config altogether.

    Originally posted by Solokron
    I have moved up the port of SSH for additional security. How can I modify the transfer script to use that port instead of the default 22?

Similar Threads

  1. trust relationship
    By serv_co_za in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 03-27-2005, 04:51 PM
  2. Remove Trust Relationship.
    By teerasak in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 11-07-2003, 11:51 PM
  3. Trust Relationship between 2 Server !
    By fusiondon in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 01-16-2003, 04:24 PM
  4. Trust Relationship f
    By jsteel in forum cPanel & WHM Discussions
    Replies: 6
    Last Post: 09-18-2002, 08:21 PM
  5. Trust Relationship Q
    By TheVoice in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 07-28-2002, 11:22 AM