Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

scp error

Status
Not open for further replies.

espar

Programmer
May 13, 2002
66
AU
Hi there - i am trying to copy user data from a rh fed3 box to a rh ent3 box - to distribute load.

The users dont have shells as it is a web hosting environment. I have started by just trying the following command (i have not set up the auto login (rcp_id) as yet as i am still investigating the security aspects)

scp -r -p user@box1:/ user@box2/

Both users are setup on the src and dest boxes.
I get ssh connection and then the passwd prompt... After logging in successfully i get

protocol error: mtime.sec not delimited

I spotted on the web some vague comments about .rc files with TERM variables - but neither of the user accounts have .rc files and running as root none of its .rc files have a TERM variable.

Any clues??

 
lol - i hate it when i assume too much, like sensible error messages...

"mtime.sec not delimited" - this is an encoded message telling me that the paths are not set correctly =p

scp -r -p user@box1:/ user@box2/

ie the users dont have permissions to copy from /

changed to:
scp -r -p user@box1:/home/userdir user@box2/home/userdir

and i just have the noshell problem to deal with...

BTW - which can be solved by using scponly shell availble...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top