When using public key authentication and the user chooses the wrong type of key, the client will display "You are not authorized to connect to this server". This error message is not very helpful to the user.
Examples of wrong types of keys:
* putty .ppk key
* Choosing the public key instead of the private one
Also see bug 5317 and bug 7207.