Results 1 to 8 of 8
Thread: scp issue
-
08-29-2007, 04:53 PM #1Web Hosting Master
- 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
-
08-29-2007, 05:46 PM #2Web Hosting Master
- 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.
-
08-29-2007, 05:58 PM #3Web Hosting Master
- Join Date
- Jan 2007
- Posts
- 688
Yes I can on the external, recipient
-
08-29-2007, 06:01 PM #4Web Hosting Master
- 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)
-
08-29-2007, 06:13 PM #5Web Hosting Master
- Join Date
- Jan 2007
- Posts
- 688
-rwxr-x--- 1 root root 35928 May 2 17:18 /usr/bin/scp*
-
08-29-2007, 06:22 PM #6Web Hosting Master
- 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.
-
08-31-2007, 02:09 PM #7Newbie
- Join Date
- Aug 2007
- Posts
- 22
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.
-
08-31-2007, 04:13 PM #8Web Hosting Master
- Join Date
- May 2006
- Location
- India
- Posts
- 661
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