how to solve the error: "ssh_exchange_identification: connection closed by remote host"

view story

http://serverfault.com – I have been researching for hours and still unable to solve my problem. This error "ssh_exchange_identification: Connection closed by remote host" has many proposed solutions but none seem to solve my problem. This is what I want to accomplish: I have a server ( SSH on it. The server has the following users and their shells: passport , shell=/bin/false user1, shell=git-shell user2, shell=git-shell me, shell=bash The sshd_config file, has the following entry at the end: AllowTcpForwarding no Match User passport,user1,user2 AllowTcpForwarding true PermitOpen 10. (HowTos)