Click to See Complete Forum and Search --> : remote login help!!!!!


MCLinux
09-29-2001, 01:00 AM
Hello all,
I really want to login a remote mechain use rsh, tho I know it's not safe to do that. I have two computers installed linux.
Let's call the first one A and the other one B. And give the following conditions:
computer ip user as
A 202.116.5.30 Rex Server
B 202.116.5.31 Rex Client
In server(A) side, the /etc/hosts contains:
202.116.5.31
and $HOME/.rhosts contains
202.116.5.31
when I use rsh to login A from B, it reports
202.116.5.31: Connection refused
I success to ping the host A, I don't know what's wrong?
I want to use ssh instead rsh, but error still occur..........!!!!!!!!!

Someone tells me the error occurrs for I do not have the rsh daemon (rshd) running . What's rsh daemon? How can I make it running? Should I install anything from some package first? Thanks!

Please help, it's very urgent!!!!!!!!!!!!

Icarus
09-29-2001, 01:11 AM
Someone will correct me if I'm wrong, but...

the rsh daemon is a process that does nothing but wait and watch for the rsh command, then it will respond and run the rsh processes. This is true with any daemon, be it ftpd, htmld or any other daemon (can't think of linux ones right now, I'm fried out on HP-UX right now :))
Most daemons can be simply started by logging in as root and typing it's name and start.
fptd start
this would start the FTP server to wait for connections.
Use the man pages, they are VERY helpful with the daemons.