The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
error in awk command RubinPat Shell Programming and Scripting 16 05-19-2009 12:24 PM
du command error in ksh G.K.K Shell Programming and Scripting 2 10-16-2008 01:40 AM
sed command error srnagu Shell Programming and Scripting 1 03-21-2008 02:50 PM
tar command error Jagadeeswaran.K Shell Programming and Scripting 1 01-24-2008 05:27 AM
ksh with bc command error cin2000 UNIX for Dummies Questions & Answers 1 12-29-2005 03:22 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 2 Weeks Ago
salselor salselor is offline
Registered User
  
 

Join Date: Jul 2008
Location: Kolkata, India.
Posts: 1
Error using SCP command

Hi -
I've a UNIX script which contains a scp command to copy a file to another server: scp <source path> <destination server:/path>
(scp dir1/file1.dat server2:/dir1/subdir1)

The job which is running this script is getting failed with error message "Remote copy Failed - Error Code: 7". When I'm checking the destination server I'm finding the whole file is successfully copied. I also checked manual page of scp and saw error code:7 means permission issue.

I'm still not been able to find out what's the reason of this message! Not sure where this "permission issue" lies!

Please help me to proceed further with this.

Regards,
Sandy
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:35 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0