PuTTY SSH authorized_keys

I cannot connect from my Windows 7 computer using PuTTy to a newly configured Debian Squeeze server using SSH RSA key authentication.

I get this error when running SSH in debug mode: User myuser authorized keys /home/myuser/.ssh/authorized_keys is not a regular file

What I've done so far:

    ssh-keygen -t rsaSet passphrase.Copied the id_rsa.pub file to ~/.ssh/authorized_keysCopied the id_rsa to a text file on my Windows 7 machineLoaded that private key file into

PuTTY SSH server

PuTTY SSH without password

PuTTY SSH RSA key

PuTTY SSH public key

Putty ssh with private key