Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    151
    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:
    166
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. neojones

    neojones Active Member

    Joined:
    Dec 14, 2004
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    156
    Please see whether the permissions of scp in your server is set to 755
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. FAZO

    FAZO Member

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

    FAZO Member

    Joined:
    Jan 11, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    151
    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:
    156
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. inbus

    inbus Registered

    Joined:
    Oct 4, 2005
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    151
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice