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

Darren Tucker <dtuc...@dtucker.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |---
                 CC|                            |dtuc...@dtucker.net

--- Comment #2 from Darren Tucker <dtuc...@dtucker.net> ---
This is about the output of "sshd -V" not the version in the protocol
output:

There's two version identifiers in version.h, the base OpenSSH version
and the -portable version:

#define SSH_VERSION     "OpenSSH_9.4"
#define SSH_PORTABLE    "p1"
#define SSH_RELEASE     SSH_VERSION SSH_PORTABLE

Upstream (OpenBSD) only uses SSH_VERSION.

ssh.c uses SSH_RELEASE (the full version) and has for a long, long time
(https://github.com/openssh/openssh-portable/commit/2aa6d3cfce738f57c31ae676e11399382bd5660e):

                case 'V':
                        fprintf(stderr, "%s, %s\n",
                            SSH_RELEASE, SSH_OPENSSL_VERSION);

When sshd -V was added in OpenBSD  it used SSH_VERSION (the base
version), and when it was synced into -portable this was brought over
without change
((https://github.com/openssh/openssh-portable/commit/7d17ea151c0b2519f023bd9cc7f141128833ac47):

                case 'V':
                        fprintf(stderr, "%s, %s\n",
                            SSH_VERSION, SSH_OPENSSL_VERSION);

I contend sshd -V should match ssh -V behaviour.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to