URN Logo
UNIX Resources » Linux » China Linux Forum » 网络管理技术 » 6 » 困扰我很久的ssh自动断开的问题
announcement 声明: 本页内容为中国Linux论坛的内容镜像,文章的版权以及其他所有的相关权利属于中国Linux论坛和相应文章的作者,如果转载,请注明文章来源及相关版权信息。
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.net
  业界新闻与评论
  自由软件杂谈
  IT 人生
  Linux软件快递
  翻译作坊
  Linux图书与评论
  GNU Emacs/XEmacs
  Linux 中文环境和中文化
  Linux桌面与办公软件
  Linux 多媒体与娱乐版
  自由之窗Mozilla
  笔记本电脑上的Linux
  Gentoo
  Debian 一族
  网络管理技术
  Linux 安装与入门
  WEB服务器和FTP服务器
  域名服务器和邮件服务器
  Linux防火墙和代理服务器应用
  文件及打印服务器
  技术培训与认证
  Linux内核技术
  Linux 嵌入技术
  Linux设备驱动程序
  Linux 集群技术
  LINUX平台数据库
  系统和网络安全
  CPU 与 编译器
  系统计算研究所专栏
  Linux下的GUI软件开发
  C/C++编程版
  PHP 技 术
  Java&jsp技术
  Shell编程技术
  Perl 编 程
  Python 编 程
  XML/Web Service 技术
  永远的Unix
  FreeBSD世界
   
困扰我很久的ssh自动断开的问题
困扰我很久的ssh自动断开的问题 - zmfang [2005-07-03 11:56 | 706 byte(s)]
 
 
Re: 困扰我很久的ssh自动断开的问题 - ElTopo [2006-02-28 04:03 | 150 byte(s)]
 
Re: 困扰我很久的ssh自动断开的问题 - 匿名 [2006-02-23 14:14 | 119 byte(s)]
 
Re: 困扰我很久的ssh自动断开的问题 - Atu [2005-07-04 09:32 | 220 byte(s)]
 
Re: 困扰我很久的ssh自动断开的问题 - 匿名 [2005-07-03 22:06 | 118 byte(s)]
 
Subject: 困扰我很久的ssh自动断开的问题
Author: zmfang    Posted: 2005-07-03 11:56    Length: 706 byte(s)
[Original] [Print] [Top]
问题一:
OS: redhat enterprise13
ssh: OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090701f

我在另外一台机器(win2K)上装个securecrt4.17,用ssh2去访问上面那台机器,只要我不操作,一会连接就会断开(大约只是几十秒)。 但是我同学也装的同一版本的securecrt,他也是win2k,用同样的设置同样的帐号去访问上面那台机器,一个小时也不会断开。

所以我怀疑不是ssh配置的问题。
but who can tell me why?

问题二:
securecrt不是支持彩色吗?我telnet到我们的bbs,都是彩色环境,为什么telnet到linux服务器用vi编辑程序时语法不能高亮显示,只能用下划线粗体代替(有点令人讨厌)。
求救。

any response is welcome。
[Original] [Print] [Top]
Subject: Re: 困扰我很久的ssh自动断开的问题
Author: 匿名    Posted: 2005-07-03 22:06    Length: 118 byte(s)
[Original] [Print] [Top]
我也遇到同样的问题,ssh总断,WEB服务也总报错,提示找不到该页,过一会又自动恢复,一直没找到问题原因所在,哪位DX帮帮忙。
[Original] [Print] [Top]
Subject: Re: 困扰我很久的ssh自动断开的问题
Author: Atu    Posted: 2005-07-04 09:32    Length: 220 byte(s)
[Original] [Print] [Top]
问题一,不知道。一般超时断开的时间不会这么短

问题二,在SecureCRT中设置正确的终端类型
在Session Options->Emulation
Terminal = Linux
选中 ANSI Color

[Original] [Print] [Top]
Subject: Re: 困扰我很久的ssh自动断开的问题
Author: 匿名    Posted: 2006-02-23 14:14    Length: 119 byte(s)
[Original] [Print] [Top]
option ->Terminal
anti-idel ->check "Send string" or "send protocol NO-OP"
[Original] [Print] [Top]
Subject: Re: 困扰我很久的ssh自动断开的问题
Author: ElTopo    Posted: 2006-02-28 04:03    Length: 150 byte(s)
[Original] [Print] [Top]
问题二

在 bash 中打入命令
echo $TERM
检查目前终端的设置,如果是不支持彩色的终端,可以强制设置成 linux 或者 xterm
[Original] [Print] [Top]
Subject: Re: 困扰我很久的ssh自动断开的问题
Author: lonelyflyer    Posted: 2006-03-07 10:11    Length: 929 byte(s)
[Original] [Print] [Top]
A.7.10 My PuTTY sessions unexpectedly close after they are idle for a while.

Some types of firewall, and almost any router doing Network Address Translation (NAT, also known as IP masquerading), will forget about a connection through them if the connection does nothing for too long. This will cause the connection to be rudely cut off when contact is resumed.

You can try to combat this by telling PuTTY to send keepalives: packets of data which have no effect on the actual session, but which reassure the router or firewall that the network connection is still active and worth remembering about.

Keepalives don't solve everything, unfortunately; although they cause greater robustness against this sort of router, they can also cause a loss of robustness against network dropouts. See section 4.13.1 in the documentation for more discussion of this.
[Original] [Print] [Top]
« Previous thread
权限问题,求教~
网络管理技术
6
Next thread »
收邮件时,同一个机子的多个域名有的IP 解析错误
     

Copyright © 2007 UNIX Resources Network, All Rights Reserved.      About URN | Privacy & Legal | Help | Contact us
备案序号: 京ICP备05006143    webmaster: webmaster@unixresources.net
This page created on 2008-07-17 02:16:03, cost 0.067466974258423 ms.