Removing old RSA host key to be able co connect remote host

My konqueror refused to connect because the client changed the server. Thus ip address and some other minor changes changed the RSA key required to connect my remote server.

I know that KDE tools are lack of many properties then I applied to ssh.
She told the whole story:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The RSA host key for gunaz.tv has changed,
and the key for the according IP address 69.64.68.215
is unchanged. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
Offending key for IP in /home/nerkn/.ssh/known_hosts:12
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
69:4c:2b:e4:82:12:5e:60:d6:af:e2:b6:7f:9a:47:b4.
Please contact your system administrator.
Add correct host key in /home/nerkn/.ssh/known_hosts to get rid of this message.
Offending key in /home/nerkn/.ssh/known_hosts:10
RSA host key for gunaz.tv has changed and you have requested strict checking.
Host key verification failed.

Searching the net, I couldnt get any useful information. Yes I can change the known_hosts but there is an update of file content that I dont know which line to change. There is only numbers. I dont want to destory the file and cant delete and try to lines to find corresponded line.
I gave the error a second chance and error infact gave it:

Offending key in /home/nerkn/.ssh/known_hosts:10

I deleted the line and trying again, adding the RSA key with ssh made konqueror connect.

thanks to writers of ssh!

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
                                .d8888b.       d8888            
d88P Y88b d8P888
.d88P d8P 888
888 888 .d88888 888 888 8888" d8P 888 .d88b.
888 888 d88" 888 888 888 "Y8b. d88 888 d88P"88b
Y88 88P 888 888 888 888 888 888 8888888888 888 888
Y8bd8P Y88b 888 Y88b 888 Y88b d88P 888 Y88b 888
Y88P "Y88888 "Y88888 "Y8888P" 888 "Y88888
888 888
888 Y8b d88P
888 "Y88P"
Enter the code depicted in ASCII art style.

Similar

  • New technique to win olimpics -

    New technique to win olimpics

    At the 1968 Olympics, Dick Fosbury took the athletics world by surprise with an unusual high-jump technique.

  • Printing mysql_error -

    Printing mysql_error

    This is a code snipped to print mysql error.
    If there is no error mysql_error returns null, thus if evaluates false and there is no output.

  • multiple ON DUPLICATE KEY UPDATE -

    multiple ON DUPLICATE KEY UPDATE

    Here is an example of how to update multiple columns using values supplied in the INSERT statement. This assumes that column 'a' is the unique key.

  • multiple ON DUPLICATE KEY UPDATE -

    multiple ON DUPLICATE KEY UPDATE

    Here is an example of how to update multiple columns using values supplied in the INSERT statement. This assumes that column 'a' is the unique key.

  • php unlink recursive -

    php unlink recursive

    The shortest recursive delete possible.

    <?php
    /**
    * Delete a file or recursively delete a directory
    *
    * @param string $str Path to file or directory
    */