Re: OpenSSH
From: Greg Wooledge (wooledg_at_eeg.ccf.org)
Date: 05/18/04
- Previous message: Troy.Wilson_at_chi.frb.org: "Re: OpenSSH"
- In reply to: Fernando Gomes Lima: "OpenSSH"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 18 May 2004 13:47:22 -0400 To: Fernando Gomes Lima <flima@rio-de-janeiro.oilfield.slb.com>
On Tue, May 18, 2004 at 08:03:33AM +0100, Fernando Gomes Lima wrote:
> I checked with ps -ef | grep and prngd and sshd process are running.
>
> I checked with netstat -a and I have an port 22 listen. But when I try to
> connect (even from localhost), I receive a "Connection closed by foreign
> host.".
That means the connection was, at some point, open. It was closed after
having been answered already.
Usually on a Linux box this is a sign that you have something awry in your
/etc/hosts.deny file (TCP wrappers configuration). Another possibility
is that the child process (sshd) is dying prematurely for some reason.
I suppose PAM could also do it.
Check your log files; if you don't find anything useful there, then run
the server in debug mode (/path/to/sshd -d -d -d -p 2222) and connect
to port 2222 in the client.
- Previous message: Troy.Wilson_at_chi.frb.org: "Re: OpenSSH"
- In reply to: Fernando Gomes Lima: "OpenSSH"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|