Re: Deleting from .ssh/known_hosts



On 1/26/07, Michael Satterwhite <michael@xxxxxxxxxxx> wrote:

One of the sites I support has changed hosting companies. As a result, the
ssh
fingerprint has changed in known_hosts, preventing me from using ssh to
connect to it.

The fix, of course, would be to let ssh create a new fingerprint. To do
that,
I need to delete the fingerprint for the old host. As the host names
aren't
in clear text, I have no idea how to go about this. I'm sure it's easy,
but
I've looked in the man page, and it isn't obviously documented.

Can anyone offer a suggestion. I'd rather not just delete the known_hosts
file
and let ssh rebuild everything as I move forward, but if I have to, I
will.





Just checked mine...

It is in clear text.. IP first....

Yours is diferent??

<snip>
209.210.31.3 ssh-rsa AAAAB3
<snip>


User Iam --
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • SSH Fingerprint Validation and Authentication
    ... Some questions regarding fingerprint validation and authentication ... ... If the user contacts me and asks "what is your SSH RSA ... and then when someone downloads my public key they can check ...
    (comp.security.ssh)
  • ssh-keygen: Couldnt read public key
    ... SSH protocols 1.5/2.0, ... remote host. ... with the local ssh. ...
    (comp.security.ssh)
  • ssh-keygen: Couldnt read public key
    ... SSH protocols 1.5/2.0, ... remote host. ... with the local ssh. ...
    (comp.security.ssh)
  • Re: Auditing SSH logs
    ... you could be a little bit more verbose :-) or at leastr your ssh ... then a ssh-add -l will give you the fingerprint and the name of the ... AcceptEnv LANG LC_* ...
    (SSH)
  • Re: entries in .ssh/known_hosts
    ... Only store host names but not IP addresses. ... If this flag is set to ``yes'', ssh will additionally check the ... Good judgement comes with experience. ...
    (comp.security.ssh)