Home » Infrastructure » Linux » Error in Copying file from 1 server to 2nd server by running script on third server (Linux debian)
Error in Copying file from 1 server to 2nd server by running script on third server [message #304757] Thu, 06 March 2008 09:01 Go to next message
MIFI
Messages: 256
Registered: February 2008
Location: U.K.
Senior Member
echo "COPY FROM WHICH SERVER"
read s1
echo "COPY FROM WHICH USER"
read u1
echo "COPY TO WHICH LOCATION"
read s2
echo "COPY TO WHICH USER"
read u2
echo "WHERE IS THE FILE AND WHICH FILE"
read f1
scp $u1@$s1:$f1 $u2@$s2:/home/oracle

Following is the error

Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).
lost connection
Re: Error in Copying file from 1 server to 2nd server by running script on third server [message #304761 is a reply to message #304757] Thu, 06 March 2008 09:10 Go to previous message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
This question has NOTHING to do with Oracle.
Previous Topic: set .mailrc for pager
Next Topic: Running Oracle Financial 11.5.7 Client on Red Hat Linux 5 (RHL 2.6.18-8 el5)
Goto Forum:
  


Current Time: Thu Mar 28 14:45:26 CDT 2024