Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- help desperately needed for using PuTTY
- LihChyun Shu
July 11, 2003, 7:52 am
rate this thread
I used PuTTYgen to generate a private key/public key
pair. I saved the private key in my pc and pasted the
public key to the authorized_keys file in my account
at a remote machine. Then I executed the following command
plink -ssh -2 -i d:\orig\archive\keys\ix.ppk email@example.com
d:\orig\archive\keys\ix.ppk is my saved private key file. I got the
Using username "shulc".
Server refused our key
I still must type in my password to login. I tried PuTTY itself also, but
the same error message. What is even more confusing is that I got the same
even I completely remove the authorized_keys file from my ~/.ssh directory.
In chapter 10 of PuTTY's manual, there is an explanation of an error
message. I attach it below. I am not sure if it is related to the above
problem I encountered.
I would greatly appreicate it if anyone can provide me any clue. Please send
your reply to firstname.lastname@example.org
10.7 "Server refused our public key" or "Key refused"
Various forms of this error are printed in the PuTTY window, or written to
Event Log (see section 18.104.22.168) when trying public-key authentication.
If you see one of these messages, it means that PuTTY 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 is almost certainly not a problem with PuTTY. If you see this type of
message, the first thing
you should do is check your server configuration carefully. Also, read the
PuTTY Event Log; the
server may have sent diagnostic messages explaining exactly what problem it
had with your setup.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum