#Openssh version install
See Quote: "I was able to confirm that OpenSSH Client is indeed installed by default on 1803, likewise, OpenSSH Server is an optional feature that must be enabled."Īt least the had the decency to not also install the server on everything with windows on it by default. Turns out somewhere along the line of updates to windows 10 MS apparently decided to install the OpenSSH client for. Recently we stumbled upon an ancient Openssh client (from 2018) installed in C:\Windows\System32\OpenSSH on all our end points. The whole "MS includes OpenSSH for Windows" is a steaming pile of manure. As an aside, the active development moved to: but the Wiki is still at the old GitHub repo, so everything is very confusing. The moral of the story is, if you'd like to run OpenSSH Server for Windows, skip the version that's built-in as an optional Windows feature, and get a newer release from GitHub. Debug logs confirm that the ChrootDirectory is set, and I've not had a single issue since updating.
![openssh version openssh version](https://igetintopc.org/wp-content/uploads/2019/06/winscp-download-latest-version-ssh-sftp-client-for-windows.jpg)
The latest release is 8.1.0.0, and somewhere along the way between 7.7 and 8.1 the bug was fixed. What's more, they haven't updated the binaries for the feature that come with Windows since, despite the project being in active development at GitHub. Turns out that even though ChrootDirectory was introduced in 7.7.0.0 per Microsoft's documentation, there's definitely some kind of bug in it. I had no consistent answer and banged my head against a wally for a week. Changed the logging to file-based DEBUG3 level. Upon multiple consecutive logins, I've found that the user is only dumped into c:\serverroot\sftptest about 25% of the time. Relevant lines in my sshd_config: ForceCommand internal-sftp I'm trying to dump them into individual ChrootDirectory folders as I'm setting this up as an SFTP server. OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5īy default, users are dumped into their profile directory. The version of OpenSSH Server that ships with Windows 10 and Server 2019 has a bug with per-user ChrootDirectory directives. Thought I'd pass along a bit of insight I picked up after a week of pulling out my hair on a problem.