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.

how enable Scp

Discussion in 'General Discussion' started by FAZO, May 15, 2006.

  1. FAZO

    FAZO Member

    Joined:
    Jan 11, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    I'm trying to Copy an account from another server (Cpanel) however got this error:

    Setting permissions on the account package... Done
    Copying account package file...Scp has been disabled on the remote server or is missing. Retrying Copying account package file...Scp has been disabled on the remote server or is missing. Retrying Copying account package file...Scp has been disabled on the remote server or is missing.
    Transfer Error
    Unable to copy archive

    How can I enable Scp?
    Thanks
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    Do you have root access to both servers and what OS and cPanel/WHM version are you running on both the source and destination servers?
     
  3. neojones

    neojones Active Member

    Joined:
    Dec 14, 2004
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Please see whether the permissions of scp in your server is set to 755
     
  4. FAZO

    FAZO Member

    Joined:
    Jan 11, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    yes , i have root access both of them
     
  5. FAZO

    FAZO Member

    Joined:
    Jan 11, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    how can i look there? . can you tell me?
     
  6. neojones

    neojones Active Member

    Joined:
    Dec 14, 2004
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    As root, use
    Code:
    ls -l /usr/bin/scp
    Well, to know the exact path of scp, you might need to use the command
    Code:
    which scp
    This will let you know whether scp is having the 755 permission
     
  7. inbus

    inbus Registered

    Joined:
    Oct 4, 2005
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    in /etc/ssh/sshd.conf
    check it enable

    change
    #Subsystem sftp /usr/lib/ssh/sftp-server
    to
    Subsystem sftp /usr/lib/ssh/sftp-server

    or firewall???
     
Loading...

Share This Page