known_hosts file related bugs have been found

Anonymous
2012-11-28
2013-04-23

  • Anonymous
    2012-11-28

    known_hosts file related bugs have been found.

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @    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 RSA key sent by the remote host is
    xx:xx:xx:xx:xx:xx~~~~~~~~~~~~~~~~~~~~~~~~~~.
    Please contact your system administrator.
    Add correct host key in /home/mini/.ssh/known_hosts to get rid of this message.
    Offending RSA key in /home/mini/.ssh/known_hosts:133
      remove with: ssh-keygen -f "/home/mini/.ssh/known_hosts" -R x.x.x.x
    RSA host key for 119.205.214.165 has changed and you have requested strict checking.
    Host key verification failed.
    Use of uninitialized value $known_hosts in concatenation (.) or string at /opt/pac/lib/pac_conn line 1321.
    Unsuccessful open on filename containing newline at /opt/pac/lib/pac_conn line 1321.
    Use of uninitialized value $known_hosts in concatenation (.) or string at /opt/pac/lib/pac_conn line 1321.
    ERROR: could not open for reading '' (그런 파일이나 디렉터리가 없습니다) at /opt/pac/lib/pac_conn line 1321.
    
     

  • Anonymous
    2012-11-28

    Not IDENTIFICATION of the remote host when changes are made to delete, as shown above, only error messages are output after the connection is not.

     
  • Hi!

    Ok, it looks like I'm having problems with locales that differ so much from Latin (Chinese, Korean, …).

    PAC makes a "best effort" to try to remove *that* nasty offending key on knonw_hosta file.
    So, it looks like you will need to delete line #133 from the /home/mini/.ssh/known_hosts file by yourself. Sorry :(

    Anyway, if you do not want PAC to automatically try to cath these kind of SSH exceptions, you can disable it by unchecking it from  "Preferences" -> "PAC Main Options" -> "Behavior" (since PAC 4.5) -> "Automatically accept or delete unknown or offending SSH keys".

    - David.