Page 1 of 1

ssh_exchange_identification: Connection closed by remote host

Posted: Monday 06 June 2016 18:54
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?

Re: ssh_exchange_identification: Connection closed by remote host

Posted: Wednesday 08 June 2016 4:15
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

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

Posted: Wednesday 08 June 2016 7:34
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

Re: ssh_exchange_identification: Connection closed by remote host

Posted: Wednesday 08 June 2016 8:14
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.

Re: ssh_exchange_identification: Connection closed by remote host

Posted: Wednesday 08 June 2016 9:18
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.

Re: ssh_exchange_identification: Connection closed by remote host

Posted: Wednesday 08 June 2016 10:21
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.

Re: ssh_exchange_identification: Connection closed by remote host

Posted: Wednesday 08 June 2016 10:51
by ebretteville
I will post the hosts.deny & hosts.allow later as I'm not able to connect through ssh.

Thanks for your reply