1833436 Members
3086 Online
110052 Solutions
New Discussion

remsh,rlogin

 

remsh,rlogin

Hi all,
when I do rlogin from one hpserver to other
sometimes it takes much time, but If I do telnet simultaneosly it goes through very fast. Because of this one of my shells which uses remsh times out. I wanted to know why rlogin takes so much time while telnet goes through. Can I improve the execution of rlogin/remsh ?

Thanks
Prosanjit
4 REPLIES 4
Darrel Louis
Honored Contributor

Re: remsh,rlogin

Hi,

Remsh/rlogin should go with the same speed as telnet.
Is there a difference between:
remsh
remsh
If yes, check if the hostname resolving goes oke.

check the following files:
/etc/hosts; /etc/resolv.conf; /etc/nsswitch.conf; /.rhosts; nis config.
Sandor Horvath_2
Valued Contributor

Re: remsh,rlogin

If You have problem with rlogin first check this things:
1, the remote host name and IP address found in local /etc/hosts. Not enough if it is in yuor DNS.

2, /etc/hosts/equiv and/or $HOME/.rhosts content and permission

3, If your user is root in remote machine it use only /.rhosts

regards, Saa
If no problem, don't fixed it.

Re: remsh,rlogin

Thanks for the reply,
But I dont use hosts.equiv nor nis.
I have .rhosts entries for rlogin.
The servers are on a separate network.
the problem also occurs once in 100 times.
but once it gets stuck it takes too long
to enter. after a while everything is proper.
But telnet works fine all the times.

CHRIS_ANORUO
Honored Contributor

Re: remsh,rlogin

Read up the online manual for rlogind (man rlogind). Interest should be around the"Cannot allocation of pty and Permission denied".
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.