ssh: connection closed

由 transparence 在 09-15-2004 10:53 发表:

ssh: connection closed

服务器端ssh服务运行正常,可是在客户端就是连不上.

提示 connection closed by hosts

不知什么原因,哪位高人指点一下啊~~


由 Sonnenschein 在 09-15-2004 11:00 发表:


iptables的原因?


由 transparence 在 09-15-2004 11:29 发表:


22端口是开着的,那就没必要再设iptables了吧.

iptales也改过的,没用


由 kendeng8888 在 09-15-2004 11:39 发表:


rm /root/.ssh/*


由 Snoopy 在 09-15-2004 11:57 发表:


> quote: > > * * * > > 最初由 transparence 发表
>
> **22端口是开着的,那就没必要再设iptables了吧.
>
> iptales也改过的,没用 ** > > * * *

你这样说就是你概念都不清,即使你使用netstat,nmap的话,检查自己的22端口开着,被转向呢,,被过滤呢(nmap可以检查出过滤),最好查看一下规则先

> quote: > > * * * > > 最初由 kendeng8888 发表
>
> rm /root/.ssh/* > > * * *

用这招没用的这个时候

检查hosts.deny,sshd_config


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 transparence 在 09-15-2004 14:47 发表:


hosts.deny里没内容.

ssd_config 里是下面这些内容,我看不出有什么问题

HostKey for protocol version 1

HostKey /usr/local/etc/ssh_host_key

HostKeys for protocol version 2

HostKey /usr/local/etc/ssh_host_rsa_key

HostKey /usr/local/etc/ssh_host_dsa_key

PermitRootLogin yes


由 Snoopy 在 09-18-2004 03:59 发表:

回复: ssh: connection closed

> quote: > > * * * > >

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus