LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   problem with rcp and rsh ! (http://www.linuxquestions.org/questions/linux-software-2/problem-with-rcp-and-rsh-118428/)

iamthewind 11-21-2003 02:29 AM

problem with rcp and rsh !
 
I use ssh to login a remote machine and then use su to get it's root permission .
then . I want to try these order: rcp and rsh
I have read man before use them.

[root@localhost etc]# rcp vnc-3.3.3r2-28.2.i386.rpm 192.100.100.2:/tmp/vnc-3.3.3r2-28.2.i386.rpm
Permission denied

192.100.100.2 is the remote computer

I don't know if I using it right .

and the reply of rsh is the same .
[root@localhost etc]# rsh 192.100.100.2 ls /home/down
Permission denied

who can tell me where the problem occured ??
thanks in advance!

Frustin 11-21-2003 03:03 AM

why arnt you using scp? I mean you take the trouble to log in securely *then* use a COMPLETELY unsecure copy method? Tell you what: use SCP and if you still have probs with that, then come back.


All times are GMT -5. The time now is 07:25 PM.