Sam Park
2008-Feb-14 17:28 UTC
ssh_exchange_identification: Connection closed by remote host
Hi, I'm getting this error when I ssh to the servers. ssh_exchange_identification: Connection closed by remote host I added /etc/hosts.allow and it actually worked once and if I tried again I get the same error. OpenSSH_3.6.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090702f debug1: Reading configuration data /usr/local/etc/ssh_config debug1: Rhosts Authentication disabled, originating port will not be trusted. debug2: ssh_connect: needpriv 0 debug1: Connection established. debug1: identity file /username/.ssh/identity type -1 debug1: identity file /username/.ssh/id_rsa type -1 debug1: identity file /username/.ssh/id_dsa type -1 ssh_exchange_identification: Connection closed by remote host debug1: Calling cleanup 0x2cc60(0x0) I look forward to your response. Thanks --------------------------------- Never miss a thing. Make Yahoo your homepage.
Tim Rice
2008-Feb-14 19:54 UTC
ssh_exchange_identification: Connection closed by remote host
On Thu, 14 Feb 2008, Sam Park wrote:> Hi, > > I'm getting this error when I ssh to the servers. > ssh_exchange_identification: Connection closed by remote host > > I added /etc/hosts.allow and it actually worked once and if I tried again I get the same error.You did not mention whether you added by name or by IP. Every time I've seen this error it has been a DNS problem. And I only see this on systems that are in hosts.allow by name. -- Tim Rice Multitalents (707) 887-1469 tim at multitalents.net
maf at appgate.com
2008-Feb-15 06:55 UTC
ssh_exchange_identification: Connection closed by remote host
In my experience this error is typically really a network problem. Try doing manual telnet to port 22 on the server. This should show you the server ssh version (i.e. the initial identification) like "SSH-2.0-OpenSSH_4.3p2 Debian-7ubuntu1" If it does not then there is your problem. /MaF -- Martin Forssen <maf at appgate.com> Development Manager Phone: +46 31 7744361 AppGate Network Security AB
Marc Haber
2008-Feb-15 07:23 UTC
ssh_exchange_identification: Connection closed by remote host
On Thu, Feb 14, 2008 at 09:28:55AM -0800, Sam Park wrote:> I'm getting this error when I ssh to the servers. > ssh_exchange_identification: Connection closed by remote host > > I added /etc/hosts.allow and it actually worked once and if I tried again I get the same error.What did you add to /etc/hosts.allow, and what do your logs say? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190