[Bug 921] Add operating system to OpenSSH version string

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sat Aug 28 15:10:46 EST 2004


http://bugzilla.mindrot.org/show_bug.cgi?id=921

           Summary: Add operating system to OpenSSH version string
           Product: Portable OpenSSH
           Version: -current
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: sshd
        AssignedTo: openssh-bugs at mindrot.org
        ReportedBy: eric_wade_brown at yahoo.com


It would be very nice if the sshd version string included an operating system 
identifier.  Many other SSH servers do include this info.  For example, 
SSH.com's server version string is "SSH-2.0-4.1.3.2 SSH Secure Shell Windows 
NT Server" for windows.  Also, Solaris SunSSH identifies itself as "SSH-2.0-
Sun_SSH_1.0".  In fact, even OpenSSH identifies OpenBSD as the operating 
system when the "p" for portable is missing from the string.  

I use the scanssh tool frequently to check which SSH systems are on the 
network.  When the SSH server is OpenSSH, I cannot identify the operating 
system unless I go through authentication.  OpenSSH now runs on some switches 
nowadays.  In that case it would be nice to know if the SSH server at that IP 
address is a system or a device.

My suggestion is that the version string to change from "SSH-2.0-OpenSSH-
3.8.1" to some like "SSH-2.0-OpenSSH-3.8.1-hpux", "SSH-2.0-OpenSSH-3.8.1-
aix", "SSH-2.0-OpenSSH-3.8.1-linux-i686", etc. 

At build time the "version.h" containing the default string can be generated 
depending on the platform it's built on.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list