Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-39253

Wrong log level of messages in RHEL-10 and C10s

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • CentOS Stream 10, rhel-10.0.beta
    • libssh
    • None
    • None
    • Moderate
    • sst_security_crypto
    • ssg_security
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      When we are trying to connect with log-level INFO, ERROR or FATAL the following messages are printed:

      [2024/05/25 23:11:55.959380, 1] socket_callback_connected:  Socket connection callback: 1 (0)
      [2024/05/25 23:11:55.972524, 1] ssh_key_cmp:  key types don't match!
      [2024/05/25 23:11:55.972602, 1] ssh_key_cmp:  key types don't match!
      [2024/05/25 23:11:55.972609, 1] ssh_key_cmp:  key types don't match!
      [2024/05/25 23:11:55.972641, 1] ssh_known_hosts_read_entries:  Failed to open the known_hosts file '/etc/ssh/ssh_known_hosts': No such file or directory
      [2024/05/25 23:11:55.981455, 1] ssh_packet_userauth_failure:  Access denied for 'none'. Authentication that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
      [2024/05/25 23:11:55.981497, 1] ssh_pki_import_pubkey_file:  Error opening /root/.ssh/id_ed25519.pub: No such file or directory
      [2024/05/25 23:11:55.981505, 1] ssh_pki_import_privkey_file:  Error opening /root/.ssh/id_ed25519: No such file or directory
      [2024/05/25 23:11:55.981511, 1] ssh_pki_import_pubkey_file:  Error opening /root/.ssh/id_ecdsa.pub: No such file or directory
      [2024/05/25 23:11:55.981517, 1] ssh_pki_import_privkey_file:  Error opening /root/.ssh/id_ecdsa: No such file or directory
      [2024/05/25 23:11:56.021359, 1] ssh_packet_global_request:  Invalid SSH_MSG_GLOBAL_REQUEST packet 

      These messages should not be printed since they do not prevent the connection from establishing.

      Please provide the package NVR for which the bug is seen:

      libssh-0.10.6-4.el10.x86_64

      How reproducible:

      always

      Steps to reproduce

      1. Try to connect with log-level INFO, ERROR, or FATAL

      Expected results

      No messages are printed

      Actual results

      Messages are printed

            shebburn@redhat.com Sahana Prasad Hebbur Narasimha Prasad
            rh-ee-gpantela George Pantelakis
            Sahana Prasad Hebbur Narasimha Prasad Sahana Prasad Hebbur Narasimha Prasad
            George Pantelakis George Pantelakis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: