免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2581 | 回复: 9
打印 上一主题 下一主题

[新手入门] timed out and the telnet session was disconnected. [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-08-19 13:29 |只看该作者 |倒序浏览
aix 5300-01 as server

from PC to telnet/ssh into the server

every 10 minutes if nothing input then the connection was closed.

how to change this time from 10minutes into 1hour?

thanks.

when disconnected get a message like this:
Connection to hostxxxx   closed by remote host

论坛徽章:
0
2 [报告]
发表于 2005-08-19 15:01 |只看该作者

timed out and the telnet session was disconnected.

koala_mel 很少问问题啊

你是用openssh登录吗?

论坛徽章:
0
3 [报告]
发表于 2005-08-20 01:57 |只看该作者

timed out and the telnet session was disconnected.

I have the same problem too. I have changed the ssh setting, or config... different version, still cannot fix it.

The only way that I found is, telnet or ssh to a different machine, then rsh/telnet/ssh to the one you want. Find a new machine has the different subnet of the want always time out. This way, it won't time out for a few days usually.

It must be a Network related issue. I guess the Network guys have changed something... who knows.

论坛徽章:
0
4 [报告]
发表于 2005-08-22 06:30 |只看该作者

timed out and the telnet session was disconnected.

both telnet and openssh have the problem. but I am not sure if it is the probem aout the network , because normally when we do something and leave the console for sometime then the console will be closed automatically.

just ask a frind who told me to change something on tty,
smitty tty , but can not find the options about idle time or timed out.

so...

still waiting for the answer.

论坛徽章:
0
5 [报告]
发表于 2005-08-22 07:15 |只看该作者

timed out and the telnet session was disconnected.

cat /etc/environment |more

find someting like this:

RES_TIMEOUT=1
RES_RETRY=1


but dare not to change it because I am not sure about what does it mean.

tie2003:
aaaix:

thanks.

论坛徽章:
0
6 [报告]
发表于 2005-08-22 11:48 |只看该作者

timed out and the telnet session was disconnected.

up it myself

论坛徽章:
0
7 [报告]
发表于 2005-08-22 14:17 |只看该作者

timed out and the telnet session was disconnected.

我只给别人装过openssh,怎么用就不太清楚了

要是网络问题,不过不会提示“timed out and the telnet session was disconnected. ”

我在首创机房装oracle时,他们的网络设置要是3分钟没有操作,TELNET中断,
我只好每隔1,2分钟,动一下鼠标键盘,郁闷!

我觉得是openssh设置问题,不太像网络问题。

装一个SSH试试,关注中。。。。。。

论坛徽章:
0
8 [报告]
发表于 2005-08-22 15:10 |只看该作者

timed out and the telnet session was disconnected.

thanks tie2003.

论坛徽章:
0
9 [报告]
发表于 2005-08-22 16:29 |只看该作者

timed out and the telnet session was disconnected.

如果不是网络或SSH的设置,直接的telnet,是有TMOUT参数控制的,但缺省为0,也就是不限制。
man TMOUT

论坛徽章:
0
10 [报告]
发表于 2005-08-23 06:58 |只看该作者

timed out and the telnet session was disconnected.

excellent 老农:
thanks. you are right.

echo $TMOUT

get a result of 0

aaaix is also right.

thanks .
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP