Results 1 to 8 of 8

Thread: scp issue

  1. #1
    Join Date
    Jan 2007
    Posts
    688

    scp issue

    I am unable to do full site backups to a remote SCP location as I have done in the past. The start of the email that I receive contains this:

    Cannot spawn scp Permission denied
    Copying backup......Done
    Unable to scp /home/user/backup-8.29.2007_13-14-01_user.tar.gz (please check the host domain.org and user user and password)

    I'm definitely using proper user/pass.

    Cpanel 11 / stable / centos 4.5

  2. #2
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    9,072
    You can SSH into the other server using the same username and password, right?
    RACK911 Labs | Penetration Testing | https://www.RACK911Labs.ca

    www.HostingSecList.com - Security Notices for the Hosting Community.

  3. #3
    Join Date
    Jan 2007
    Posts
    688
    Yes I can on the external, recipient

  4. #4
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    9,072
    Hrm, what's the permissions on SCP?

    ls -la /usr/bin/scp

    (path may be different on your server)

  5. #5
    Join Date
    Jan 2007
    Posts
    688
    -rwxr-x--- 1 root root 35928 May 2 17:18 /usr/bin/scp*

  6. #6
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    9,072
    Edit:
    Nevermind, chmod 755 /usr/bin/scp and it appears to work.
    Last edited by Patrick; 08-29-2007 at 06:26 PM.

  7. #7
    If you are using scp from user1 then it directly search user1 in destination system.If you want to scp a specific user the practice as username@IPAddress.Ane check the permission os /usr/sbin/scp also.

    <<Signature to be setup in your profile>>
    Last edited by anon-e-mouse; 08-31-2007 at 05:33 PM.

  8. #8
    Join Date
    May 2006
    Location
    India
    Posts
    661

    Cool

    or you can try SCP from the other server(recipient server)
    SparkSupport.Com - The Premier Tech Company
    Cloud Solutions|Email Infra setup|VOIP|Video Streaming|Software Development
    Email: info@sparksupport.com Phone : 1- 408-600-1449 | Skype : shijils

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •