On Wed, Feb 18, 2009 at 11:39 AM, Gora Mohanty <[email protected]> wrote:

> On Wed, 18 Feb 2009 11:34:43 +0000
> Yashpal Nagar <[email protected]> wrote:
> [...]
> > On one of a servers I recently build with SLES 10 SP2,  I didn't created
> any
> > ssh private and public key pair -- id_rsa and id_rsa.pub for root user
> > When i tried to ssh this server it gave me offending key warning on my
> local
> > server (/home/yash/.ssh/known_hosts)  because I had recently formatted
> the
> > target host, So the finger print/key is changed which is normal.
> >
> > But the problem is when i tried to locate the public key in
> > /home/yash/.ssh/known_hosts I didn't find any key with a reference to my
> > target host/IP alongwith. All I found is a file, with full of keys and
> its
> > damn diffcult to find which I was looking for, Generally i look for
> target
> > hostname/IP,
> [...]
>
> The error message from the command-line ssh client should
> include a line number in /home/yash/.ssh/known_hosts. Simply
> remove that line.
>
> Thanks, I oversight it mentions line no too with a colon, great!

error mesg##
Offending key in /home/yash/.ssh/known_hosts:67

But still I need some more information, URL etc to know what happens when
there are no keys pairs created, what keys are picked up, when these are
generated etc.

Regards
Yash
_______________________________________________
ilugd mailinglist -- [email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[email protected]/

Reply via email to