Trouble with SSH to Pi server

I'm running Channels on a Pi serve and have loaded my public key via the server web interface. I'm using PuTTY and have the private key in the Auth.

Host: root@dvr-server
Port: 22222

I'm getting "Server refused our key"

Got it figured. I had used Puttygen and saved the public key to a file and copied to there, and it was corrupted in some way. When I copied the public key directly from Puttygen everything worked.