|
|
|
|
 困扰我很久的ssh自动断开的问题 - zmfang [ 2005-07-03 11:56 | 706 byte(s)]
 Re: 困扰我很久的ssh自动断开的问题 - lonelyflyer [ 2006-03-07 10:11 | 929 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)]
|
|
|
|
[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]
|
|
[Original]
[Print]
[Top]
|
问题一,不知道。一般超时断开的时间不会这么短
问题二,在SecureCRT中设置正确的终端类型
在Session Options->Emulation
Terminal = Linux
选中 ANSI Color
|
|
|
[Original]
[Print]
[Top]
|
|
[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]
|
|
|