https://bugzilla.mindrot.org/show_bug.cgi?id=3956

            Bug ID: 3956
           Summary: Unnecessary display of "Permanently added '1.2.3.4'
                    (ECDSA) to the list of known hosts
           Product: Portable OpenSSH
           Version: 10.0p2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: ssh
          Assignee: [email protected]
          Reporter: [email protected]

Even when there is no valid user known host file, the above message
states that the hostkey was permanently added to known host file. This
is a bit misleading in my opinion. It would be better not to print this
if the file is /dev/null.

SSH client config:
StrictHostKeyChecking no
UserKnownHostsFile /dev/null

I understand that the write operation was successful and hence this
message, but there are use cases where the ssh client should completely
disable host key add and checks. Alternatively, can something like
"StrictHostKeyChecking disable" be added that will not even bother
adding the hostkey?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to