If you are recieving this error (or "connection reset by peer"), your client is having trouble authenticating with the server. This is probably caused by having multiple identity keys in your .ssh directory.
To fix this problem, you can use the command line or the configuration file.
Command Line Solution
Disable public key authentication. When entering the command to connect via SSH, add this argument before you type in your user name and password:
Configuration File Solution
Add the following line to your .ssh/config file to force non-key authentication: