CRego3D

Active Member
Aug 13, 2001
38
0
306
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 [email protected]:/root/.sshscript
[email protected]\'s password: Sending password

xxxxxxx (password)

stdin: is not a tty

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


spawn /usr/bin/ssh [email protected] /bin/sh /root/.sshscript
[email protected] 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 ?
 

WeinBar

Well-Known Member
Aug 13, 2001
79
0
306
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!)
 

CRego3D

Active Member
Aug 13, 2001
38
0
306
Thank you .. that did it, but I has asked Nick before .. ho well
 

Solokron

Well-Known Member
Aug 8, 2003
852
2
168
Seattle
cPanel Access Level
DataCenter Provider
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:

Solokron

Well-Known Member
Aug 8, 2003
852
2
168
Seattle
cPanel Access Level
DataCenter Provider
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?