Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Re: Putty/OpenSSH Public key auth

Subject: Re: Putty/OpenSSH Public key auth
Date: Wed, 19 Oct 2005 17:49:23 +0200
Treu, Jill wrote:
Hello,
 
I am having a problem with getting the public key authentication portion of 
the secure shell to work. I am using Putty and OpenSSH. Here is a copy of the 
putty.log in case anyone can tell me what is going wrong:
 
Thanks.
 
Jill
 
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2005.10.18 13:56:50 =~=~=~=~=~=~=~=~=~=~=~=
Event Log: Writing new session log (SSH packets mode) to file: putty.log
Event Log: Looking up host "test"
Event Log: Connecting to 10.1.1.2 port 22
Event Log: Server version: SSH-2.0-OpenSSH_3.6.1p2-pwexp22
Event Log: We claim version: SSH-2.0-PuTTY-Release-0.57
Event Log: Using SSH protocol version 2
Incoming packet type 20 / 0x14 (SSH2_MSG_KEXINIT)

Event Log: Offered public key
Incoming packet type 51 / 0x33 (SSH2_MSG_USERAUTH_FAILURE)
  00000000  00 00 00 12 70 75 62 6c 69 63 6b 65 79 2c 70 61  ....publickey,pa
  00000010  73 73 77 6f 72 64 00                             ssword.
Event Log: Server refused public key

You may have to delete an older host key that is being stored in your
registry:

Open up regedit.
My Computer -> HKEY_CURRENT_USER -> Software -> SimonTatham -> Putty ->
SshHostKeys
Delete the key, with the ip adress, associated with the server "test".

Try restarting Putty and see if the dialogue box pops up, asking you if
you will accept the "new" key.


-- 
Patrick Benson
Stockholm, Sweden

<Prev in Thread] Current Thread [Next in Thread>