ftp, rlogin , rcp, rsh are not wroking

Hi Friends

I am facing one problem, I am not able to use ftp, rlogin , rcp, rsh in a particular server.

when I am trying to ftp certain file from that server it is giving Connection closed by remote host.

Now from other unix box I am not able to rlogin that particular server. as .rhosts file is not there. I don't know how to write it such that I can use that feature.

I am in 'A' Server and trying to rlogin 'B' with 'c' login id and 'd' password then what will be the format.

I have access to the certain files on the B server with c login id and d password.

Thanks
Joy

rlogin -l <username> <hostname>

:slight_smile:
That thing I am knowing. I am asking about the configuration file(.rhosts):confused:. Please help me on that.

Thanks
Joy

.rhosts file should reside in the respective user's folder, it needs to have 700 permissions, and the following format is enclosed :
hostname [username]
For more info see here. Is it imperative that you use rsh related commands ? Can't you use ssh instead to serve your purpose ?