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!
Similar
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
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
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
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
The shortest recursive delete possible.
<?php
/**
* Delete a file or recursively delete a directory
*
* @param string $str Path to file or directory
*/


Comments
Post new comment