Windows 10 WinSxS folder. What is the meaning of random number in ssh.exe folder path?

1

I notice there are 2 ssh.exe in one of the Win 10 computer.

C:\>DIR /s/b C:\ssh.exe
C:\Windows\System32\OpenSSH\ssh.exe
C:\Windows\WinSxS\amd64_openssh-client-components-onecore_<RandomNumber1>_10.0.17134.1_none_<RandomNumber2>\ssh.exe

C:\>

I replaced both number with RandomNumber1 and RandomNumber2 as I wasn't sure what it is.

Also, 10.0.17134.1 looks like a Windows version, but the one found on this machine is 10.0.17134.766

C:\>ver

Microsoft Windows [Version 10.0.17134.766]

C:\>

Both ssh.exe are running on the same version

C:\>C:\Windows\System32\OpenSSH\ssh.exe -V
OpenSSH_for_Windows_7.6p1, LibreSSL 2.6.4

C:\>C:\Windows\WinSxS\amd64_openssh-client-components-onecore_<RandomNumber1>_10.0.17134.1_none_<RandomNumber2>\ssh.exe -V
OpenSSH_for_Windows_7.6p1, LibreSSL 2.6.4

C:\>

What are these numbers?

Are they unique for each users?

user11392987

Posted 2019-07-10T10:08:22.320

Reputation: 111

Answers

0

I replaced both numbers with RandomNumber1 and RandomNumber2 as I wasn't sure what it is.

They are not actually random.

What are these numbers?

They are a package identifier. When you install a Windows feature it’s extracted from WinSxS to the System32 folder.

10.0.17134.1 was the initial build for the version of Windows 10 you have installed. 10.0.17134.885 is the current build of that same version which was incremented due to the cumulative update you have installed.

Are they unique for each user?

It is unique to the specific package, by comparing several different Windows 10 installations within various VMs, RandomNumber1 seems to be the same for both OpenSSH Client and OpenSSH Server regardless of the what cumulative update you have installed. RandomNumber2 appears to differ based on the date and size of the manifest file. As I indicated the package within the WinSxS directory is simply used to install the Windows feature.

You really should only care about what version of OpenSSH you actually have installed. Whatever version of the OpenSSH Client and OpenSSH Server you have installed will be entirely based on the version of Windows 10 you have installed.

Since you are running Windows 10 version 1803, Win32 OpenSSH 7.6.1.0 would have been the version that was included, since it was released on March 30th, 2018. Windows 10 version 1803 was released on April 30th, 2019.

Win32 OpenSSH, which is the OpenSSH client you have installed, is actually open source. It is worth pointing out that this particular feature is on GitHub.

Ramhound

Posted 2019-07-10T10:08:22.320

Reputation: 28 517

Does MSFT publish a list of these build versions and what they were for? – UuDdLrLrSs – 2019-07-10T11:39:06.283

Yes; “Windows 10 Update History” as a search term will find the page. As that has nothing to do with your question I won’t directly link to it – Ramhound – 2019-07-10T11:42:16.113

Thanks @Ramhound. Are these numbers unique for each users? It looks like hash number to me. Also, could you please share the link asked by @DaveInCaz? – user11392987 – 2019-07-11T01:44:39.873