Server refused our key

If you see this message, it means that WinSCP has sent a public key to the server and offered to authenticate with it, and the server has refused to accept authentication. This usually means that the server is not configured to accept this key to authenticate this user.

This is almost certainly not a problem with WinSCP. If you see this type of message, the first thing you should do is check your server configuration carefully. Common errors include having the wrong permissions or ownership set on the public key or the user’s home directory on the server. Also, read the WinSCP session log; the server may have sent diagnostic messages explaining exactly what problem it had with your setup.1

Advertisement

Learn how to Set up SSH public key authentication.

  1. The text is copy of PuTTY User Manual or was inspired by it.Back

Last modified: by martin – Currently locked by: 47.91.149.178