Operating System - HP-UX
1830504 Members
2406 Online
110006 Solutions
New Discussion

rsh is terminated every 180 minutes.

 
chuanpeng.wang
Frequent Advisor

rsh is terminated every 180 minutes.

I run follow command on Sun solaris to connect to a HPUX server.

rsh -n -l datacap $host_name 'tail -f some.log'

The connection is terminated every 180 minutes, but telnet is fine.
It there some parameter about this?
3 REPLIES 3
Luk Vandenbussche
Honored Contributor

Re: rsh is terminated every 180 minutes.

Check the configuration or rsh in /etc/inetd.conf.

Is there a timeout value defined?
chuanpeng.wang
Frequent Advisor

Re: rsh is terminated every 180 minutes.


I have checked it, there is no timeout.
Garry Ferguson
Frequent Advisor

Re: rsh is terminated every 180 minutes.

Is TMOUT set for that particular login? ( Just type "set" to view. )
Is root terminated too?