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!

copying files remotely using rcmd

Status
Not open for further replies.

albeee

Programmer
Dec 3, 2001
4
US
How can I copy a file to a remote server using the rcmd command?

 
Try this:

rcp file zzxxxxx:/directory/path/file

Translation:

Remote copy local file to remote workstation or server at path location.
 
To use rcp you'll need a .rhosts file on the recipient with an entry in the format:

<remote_user> <remote_Sysname>

and probably an entry in the hosts.equiv on each machine too.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top