How to edit ECDSA fingerprint?

JD Austin jd at twingeckos.com
Thu Jul 12 15:44:14 MST 2012


I never edit that file.. but I do delete lines from it.
Delete the line for the host that has been rebuilt (usually the reason) and
then say 'yes' when connecting to it for the first time.
On Thu, Jul 12, 2012 at 3:38 PM,  <joe at actionline.com> wrote:

>
> I got the warning message shown below and would like to know if it is
> possible/permissible to edit my /home/joe/.ssh/known_hosts in a text
> editor.
>
> Here are the first few characters on the long lines now in my known_hosts
> file:
>
> 192.168.0.73 ssh-rsa AAAAB3NzaC1yc2EAAAABI ...
> box582.bluehost.com,66.147.242.182 ssh-rsa ...
> 192.168.0.75 ssh-rsa AAAAB3NzaC1yc2EAAAABI ...
> localhost ssh-rsa AAAAB3NzaC1yc2EAAAABIwAA ...
> 192.168.0.71 ssh-rsa AAAAB3NzaC1yc2EAAAABI ...
> vsiq.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAA ...
> 98.102.104.47 ssh-rsa AAAAB3NzaC1yc2EAAAAB ...
> 192.168.0.80 ssh-rsa AAAAB3NzaC1yc2EAAAABI ...
> 192.168.0.91 ssh-rsa AAAAB3NzaC1yc2EAAAABI ...
> 192.168.0.64 ecdsa-sha2-nistp256 AAAAE2V ...
>
> What exactly do I need to put in there to correct the reported problem?
>
> -------
> WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
> IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
> Someone could be eavesdropping on you right now (man-in-the-middle attack)!
> It is also possible that a host key has just been changed.
> The fingerprint for the ECDSA key sent by the remote host is
> f7:d3:24:83:f8:fa:50:00:6f:82:2a:eb:3e:6b:25:51.
> Please contact your system administrator.
> Add correct host key in /home/joe/.ssh/known_hosts to get rid of this
> message.
> Offending ECDSA key in /home/joe/.ssh/known_hosts:10
> Password authentication is disabled to avoid man-in-the-middle attacks.
> Keyboard-interactive authentication is disabled to avoid man-in-the-middle
> attacks.
> Permission denied (publickey,password).
> lost connection
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20120712/562ec6ad/attachment.html>


More information about the PLUG-discuss mailing list