Skip to content

Releases: PowerShell/Win32-OpenSSH

v1.0.0.0-Beta

20 Jan 03:01
Compare
Choose a tag to compare

This is a pre-release (non-production ready)

This release includes changes to further prepare this fork for future integration to upstream repository. Also included are changes incorporating community feedback.

  • Unix styled privilege separation is implemented for Windows

    • OpenSSh privilege separation model - http://www.citi.umich.edu/u/provos/ssh/privsep.html
    • Posix_spawn is implemented in POSIX adapter as an alternative to fork() that is heavily used in Privilege separation.
    • Additional state info is added to sshd to accommodate distinguishing the various modes (privileged monitor, unprivileged child, authenticated child).
    • Required service state (like config and host keys) is transmitted over pipes from monitor to child processes.
    • For every remote session, you'll now see 2 sshd processes, one running as SYSTEM and one running as the USER (similar to what you would see on Unix)
  • Changes to installation steps to adhere to the new architecture

    • SSHD server is installed to run as SYSTEM
    • SSHD no longer depends on ssh-agent server
    • SSHD resources (sshd_config, hostkeys and authorized_keys) no longer need "READ" access to NT Service\SSHD.
  • Config/State separation

    • SSHD resources - sshd_config, hostkeys are moved to a dedicated hidden directory - %ProgramData%\ssh
    • SSH global resources - ssh_config and ssh_known_hosts will now work and can be placed in the above directory
    • Logs would be written to the above directory too. This is a temporary solution while we evaluate moving logs to ETW sessions.
  • SSHD prerequisites auto setup

    • SSHD service prereq resources - sshd_config and hostkeys, if they don't already exist - will now be automatically generated as part of service startup.
    • This will reduce instllation steps to all but one step - i.e to run installsshd.ps1. There will be no more configuration steps needed.
  • Other misc issues listed here

Breaking Changes

  • You need to be SYSTEM to do SSHD debug mode (sshd -d), typically used in troubleshooting scenarios. Running as an administrator is no longer sufficient. You may use psexec -s cmd to open up cmd.exe running as SYSTEM.
  • To use existing customized sshd_config, you need to copy it to %programdata%\ssh\sshd_config (Note that %programdata% is a hidden directory).
  • To use existing host keys, you need to copy them from binary location to %programdata%\ssh\
  • Prior versions required SSHD resources (sshd_config, host keys and authorized_keys) to have READ access to "NT Service\SSHD". This is no longer a requirement and the corresponding ACL entry should be removed. You may run Powershell.exe -ExecutionPolicy Bypass -Command '. .\FixHostFilePermissions.ps1 -Confirm:$false' to fix up these permissions.
  • Make sure binary location has the write permissions to just SYSTEM, Administrator groups. It is recommended to extract binaries to %ProgramFiles%\OpenSSH

Known Issues:

  • You may not be able to connect with sshd logs showing that "unable to get security token for user sshd". Please see #1053
  • Match Blocks support has regressed. This will be fixed in the upcoming release.

v0.0.24.0

05 Dec 00:21
Compare
Choose a tag to compare

This is a pre-release (non-production ready)

This release includes the following bug fixes/enhancements:

  • Fixed service binary paths (#963 )
  • Fixed exceptions when stop sshd service (#957 )
  • Fixed unicode characters from the ssh.exe (#925)
  • Fixed issue in SFTP when downloading a very large file in chunks (#863)
  • Other misc issues listed here

v0.0.23.0

19 Nov 04:01
Compare
Choose a tag to compare

This is a pre-release (non-production ready)

This release includes the following bug fixes/enhancements:

  • Fixed issue with ssh redirected stdin (#929)
  • Fixed issue in POSIX layer that could truncate write streams(#908)
  • Other misc issues listed here

v0.0.22.0

17 Oct 23:08
Compare
Choose a tag to compare

This is a pre-release (non-production ready)

This release includes the following bug fixes/enhancements:

  • Support configuring default shell through windows registry. Please see bullet 12 at Install-Win32-OpenSSH
  • Other misc issues listed here

v0.0.21.0

03 Oct 03:10
Compare
Choose a tag to compare

This is a pre-release (non-production ready)

This release includes the following bug fixes/enhancements:

v0.0.20.0

06 Sep 03:57
Compare
Choose a tag to compare

This is a pre-release (non-production ready)

This release includes the following bug fixes/enhancements:

  • All changes/fixes from upstream branch openssh/openssh-portable/master
  • AllowGroups directive now works with domain groups (#816)
  • Fixes to various terminal related issues and misc issues listed here

v0.0.19.0

18 Aug 21:09
Compare
Choose a tag to compare

This is a pre-release (non-production ready)

This release includes the following bug fixes/enhancements:

  • Key based authentication issue after a machine reboot (#727)
  • Fixes to various terminal related issues and misc issues listed here

v0.0.18.0

20 Jul 04:35
Compare
Choose a tag to compare

This is a pre-release (non-production ready)

This release includes the following bug fixes/enhancements:

Known issue:

  • sshd service failed to start on 32-bit Windows 7 (#795).

v0.0.17.0

01 Jul 05:51
Compare
Choose a tag to compare

This is a pre-release (non-production ready)

This release includes the following bug fixes/enhancements:

  • Security enhancements (#596, #766, #783, #789)
  • Improvements to UtilityScripts (#771) to work on localized machine
  • Support for windows-style absolute AuthorizedKeysFile path (#779)
  • Other misc issues listed here

Known issue:

  • sshd service failed to start after installation on Windows 7 (#770). See issue details for a workaround.

v0.0.16.0

21 Jun 18:59
Compare
Choose a tag to compare

This is a pre-release (non-production ready)

This release includes the following bug fixes/enhancements:

  • Crypto transitioned from OpenSSL to LibreSSL
  • Improvements to UtilityScripts (#749, #750, #751, #756, #758)
  • Support for SFTP only server for Windows (#757)
  • Support for Unicode input in interactive sessions (#711)
  • UX issues with warning and passphrase promts (#692)
  • Other misc issues listed here

Known issue:

  • sshd service failed to start after installation on Win7(#770). See issue details for a work around.
  • UtilityScripts does not handle Localized User correctly(#771). See Security protection wiki to manually fix the file permissions if you run on non-English build.