SSH error “remote side unexpectedly closed network connection”

I tried, no log file is generated. Once I click away the alert that says remote side closed network connection, the putty window indicates inactive and has to be closed.