The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cant connect (remote access key)

Discussion in 'General Discussion' started by listenmirndt, Dec 12, 2004.

  1. listenmirndt

    listenmirndt Member

    Joined:
    Jul 14, 2004
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Hello

    I am having some trouble connecting to WHM via remote access key on a server,

    The code is correct, and values are correct, they have been tested successfully on many servers, however, in this case - the script does not seem to want to connect to WHM.

    Any reason, other then code and code values (which are definatly correct), that this might be?

    could it be :
    host = localhost
    can this value be anything other then localhost?

    Thanks for -any- insight
    -Arron
     
  2. Etheral

    Etheral Well-Known Member

    Joined:
    Dec 8, 2003
    Messages:
    208
    Likes Received:
    0
    Trophy Points:
    16
    make sure your remote key hash is the one you generate from your WHM, also, localhost is to connect to the server the script is LOCATED on.

    If your trying to run this script on a remote server (a different server then where the script is located), you put the server's ip address, and put the WHM access key for the remote server.
     
  3. listenmirndt

    listenmirndt Member

    Joined:
    Jul 14, 2004
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the reply
    Yes, certain that the settings are correct - and not running from a remote host.

    Is there a restriction that might be set on the server which might be preventing connection? is it possible that the cPanel account modual isnt installed?.

    Or..

    Thanks
    -Arron
     
  4. Etheral

    Etheral Well-Known Member

    Joined:
    Dec 8, 2003
    Messages:
    208
    Likes Received:
    0
    Trophy Points:
    16
    Hrmm... no, as long as you stay updated with cPanel it should install. I'd suggest 2 things,

    1) make a support ticket for this issue

    2) try using the EXACT coding example cPanel gives in their documention, but change the access key and the username. {try generating a new hash via WHM}. Also make sure you remove the "------BEGIN WHM ACCESS KEY------" and "-------END WHM ACCESS KEY-------"
     
Loading...

Share This Page