On Thu, 20 Jul 2000, Steven Boothe wrote:

> Date: Thu, 20 Jul 2000 16:32:24 -0700
> From: Steven Boothe <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: [expert] OpenSSH won't accept connections?
> 
> On Thu, 13 Jul 2000, you wrote:
> > On Thu, 13 Jul 2000, Steven Boothe wrote:
> >
> > > Hello everyone. I am having a bit of trouble getting openssh to accept
> > > connections. Can anyone help by either direct comment or either pointing
> > > me where to look for additional information? So far I have installed sshd
> > > on other RedHat machines without issues. But since I have began using
> > > LM7.1 I - have been running into this error message:
> > >
> > > "ssh_exchange_identification: Connection closed by remote host"
> > >
> > > Things I have done so far include:
> > >
> > >  - checked /etc/inetd.conf for appropriate uncommented entries for sshd
> > >  - checked /etc/hosts.deny to ensure proper clearance for my hosts
> > >  - checked /etc/ssh/sshd_config for appropiate entry in the
> > >     "ListenAddress" -     field.
> >
> > This exact problem bit me big time a while back.  If hosts.allow or
> > hosts.deny exists, add to hosts.allow:
> >
> > sshd : ALL
> >
> > You need this even of you are not running sshd from inetd.
> 
> First, thank you to all who read and replied. I was doing quite well due to 
> this last great tip. However, as soon as I changed the "ListenAddress" value 
> to work for a different internal network, everything went back to broken 
> again???
> 
> This is very strange.
> 
> Now I can't even seem to reverse the issue. When I now attempt to connect I 
> get a "Secure connection to <network addr> refused"???
> 
> I have checked:
> 
>  - /etc/hosts.allow             ALL:ALL
>  - /etc/hosts.deny            #ALL:ALL
>  - /etc/ssh/sshd_config     ListenAddress: <network addr>
> 
> Is there anything I am missing?
> 
> I haven't setup ipchains with any rules either... I just can't figure what 
> the problem could be? (I've never had any of this trouble with Redhat 6.2, 
> though admittedly because Redhat comes out of box much less secure... )
> 
> Steven
> 


Sorry for writing so low, but did you try ssh -v to get verbosity on, that
is how I debugged mine to work...

-- 
Regards,

Ellick Chan
[EMAIL PROTECTED]
Jul 20


Reply via email to