Server unexpectedly closed network connection error in passwordless in ssh through

Hi ,
when i try to passwordless connection login in ssh through putty, i am getting the "Server unexpectedly closed network connection" error.i have already finished the public and private key settings for the particular user.

thanks
MaroV

I think you have to go in using a password connection, then you su - <userid>, that goes w/o password.