ssh_exchange_identification: Connection closed by remote host

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
ebretteville
Posts: 39
Joined: Sunday 10 January 2016 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.3530
Location: Cherbourg - Caen | France
Contact:

ssh_exchange_identification: Connection closed by remote host

Post by ebretteville »

Hye,

After updating to latest domoticz iso with jessie (had previously wheezy) I'm no longer able to connect to it via ssh from outside my local network.

I have this error:

Code: Select all

ssh_exchange_identification: Connection closed by remote host
I checked hosts.deny and hosts.allow and nothing appeared to be strange...

Any ideas?
SweetPants

Re: ssh_exchange_identification: Connection closed by remote host

Post by SweetPants »

If you connect from linux, try to remove ~/.ssh
/known_hosts on the connecting host

Verstuurd vanaf mijn HTC Desire 610 met Tapatalk
ebretteville
Posts: 39
Joined: Sunday 10 January 2016 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.3530
Location: Cherbourg - Caen | France
Contact:

Re: RE: Re: ssh_exchange_identification: Connection closed by remote host

Post by ebretteville »

SweetPants wrote:If you connect from linux, try to remove ~/.ssh
/known_hosts on the connecting host

Verstuurd vanaf mijn HTC Desire 610 met Tapatalk
Will try this, thx

Envoyé de mon SM-N9005 en utilisant Tapatalk
jannl
Posts: 825
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.5.x
Location: Geleen
Contact:

Re: ssh_exchange_identification: Connection closed by remote host

Post by jannl »

Google learned me that it can also have something to do with the hosts.allow/deny files, please check.

It looks like security is more tightened.
ebretteville
Posts: 39
Joined: Sunday 10 January 2016 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.3530
Location: Cherbourg - Caen | France
Contact:

Re: ssh_exchange_identification: Connection closed by remote host

Post by ebretteville »

SweetPants wrote:If you connect from linux, try to remove ~/.ssh
/known_hosts on the connecting host

Verstuurd vanaf mijn HTC Desire 610 met Tapatalk
Didn't help...
jannl wrote:Google learned me that it can also have something to do with the hosts.allow/deny files, please check.

It looks like security is more tightened.
As I said:
ebretteville wrote: [...]
I checked hosts.deny and hosts.allow and nothing appeared to be strange...

Any ideas?
Will continue to investigate so if you have any more ideas, just let me know.
jannl
Posts: 825
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.5.x
Location: Geleen
Contact:

Re: ssh_exchange_identification: Connection closed by remote host

Post by jannl »

I know, I read what you said. However, some people on google say the same, but still they had to make adjustments to there hosts.allow/deny file.

I think you need more reading on this.
May be to many systems have access and the securitysettings you have applied are not tight enough.
ebretteville
Posts: 39
Joined: Sunday 10 January 2016 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.3530
Location: Cherbourg - Caen | France
Contact:

Re: ssh_exchange_identification: Connection closed by remote host

Post by ebretteville »

I will post the hosts.deny & hosts.allow later as I'm not able to connect through ssh.

Thanks for your reply
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest