Howto solve ssh_exchange_identification: Connection closed by remote host error

advertisement logo

 

I’ve keep getting the message “ssh_exchange_identification: Connection closed by remote host error” after I managed to finalized my CRUX linux on my decTOP box today. After enough looking into documentations, I finally found out that I need to edit the “/etc/hosts.allow” file to allow SSH connection, for example:


#/etc/hosts.allow
sshd:ALL

or for more conservative setting


#/etc/hosts.allow
sshd:LOCAL
sshd:192.168.1.0/255.255.255.0

I can connect ssh to my box normally after that.


Share this post

Tags: , , , , , , , , ,

Keep updated with the latest posts, be a part of over 1,000 subscribers! : email iconSubscribe to your email

2 smashing comments for this post.

  1. DIANA Said:

    Hello, first off…. I purshased this computer with ubunu something and of course!! I had to prowl into everything and, I chnged the /home/john to /home/diana and it tells me that I do not exist…Can you help? I’d do a spell check , but chattng is not my favorite pass time. UNLESS I’M GETTING PAID:}

  2. ralph lauren outlet Said:

    I am extremely inspired together with your writing skills as neatly as with the structure for your weblog. Is that this a paid topic or did you customize it yourself? Anyway keep up the nice quality writing, it?s rare to see a great weblog like this one nowadays..

Leave a Comment

Subscribe by email

Enter your Email