Knowledgebase
scp issue
Posted by Calibaba, 08-29-2007, 04:53 PM | 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
|
Posted by Patrick, 08-29-2007, 05:46 PM | You can SSH into the other server using the same username and password, right?
|
Posted by Calibaba, 08-29-2007, 05:58 PM | Yes I can on the external, recipient
|
Posted by Patrick, 08-29-2007, 06:01 PM | Hrm, what's the permissions on SCP?
ls -la /usr/bin/scp
(path may be different on your server)
|
Posted by Calibaba, 08-29-2007, 06:13 PM | rwxr-x--- 1 root root 35928 May 2 17:18 /usr/bin/scp*
|
Posted by Patrick, 08-29-2007, 06:22 PM | Edit:
Nevermind, chmod 755 /usr/bin/scp and it appears to work.
Last edited by Patrick; 08-29-2007 at 06:26 PM.
|
Posted by kgs_namboothiri, 08-31-2007, 02:09 PM | 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.
<>
Last edited by anon-e-mouse; 08-31-2007 at 05:33 PM.
|
Posted by SparkSupport, 08-31-2007, 04:13 PM | or you can try SCP from the other server(recipient server)
|
|
Add to Favourites
Print this Article |
Also Read