Hi,
I clearly misunderstood your command there. I thought "hotech" was the name of the directory you were trying to copy over. Here is the syntax of the command:
Code:
rcp -r directory_to_copy remote_user@remote_host:/home/hotel/
I'm not exactly clear on what you mean by having "the two discs installed as hostname = hotech", but if you mean that both PCs have the hostname "hotech", yes, that would cause a problem. How is the local computer supposed to know that "hotech" means the remote computer instead of itself?
Since rcp uses rsh authentication, make sure the user you specify has the proper permissions to open a remote shell.
Finally, since telnet is not secure, give some thought to using scp instead, as it relies on ssh instead of rsh.