Skip to content

Instantly share code, notes, and snippets.

@lxneng
Created August 30, 2011 05:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save lxneng/1180223 to your computer and use it in GitHub Desktop.
Save lxneng/1180223 to your computer and use it in GitHub Desktop.
ssh_exchange_identification: Connection closed by remote host
ssh error:
ssh_exchange_identification: Connection closed by remote host
fix:
sudo echo "sshd:ALL" >> /etc/hosts.allow
@Rubusch
Copy link

Rubusch commented Oct 15, 2021

I'd say rather:
echo "sshd:ALL" | sudo tee -a /etc/hosts.allow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment