|
2024-07-05 18:52:41,550 5244 [DEBUG] - XmlConfiguration is now operational
|
|
2024-07-05 18:52:41,690 5244 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-07-05 18:52:41,690 5244 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-07-05 18:52:41,690 5244 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-07-05 18:52:41,690 5244 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2024-07-05 18:52:41,709 5244 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-07-05 18:52:41,709 5244 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2024-07-05 18:52:41,709 5244 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-07-05 18:52:41,723 5244 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2024-07-05 18:52:41,723 5244 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-07-05 18:52:41,723 5244 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2024-07-05 18:52:41,723 5244 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2024-07-05 18:52:42,546 5244 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-05 18:52:42,546 5244 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-05 18:52:42,546 5244 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-05 18:52:42,546 5244 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-05 18:52:42,570 5244 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-05 18:52:42,570 5244 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-05 18:52:42,578 5244 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-05 18:52:42,578 5244 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-05 18:52:42,578 5244 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-05 18:52:42,578 5244 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-05 18:52:42,612 5244 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2024-07-05 18:52:42,612 5244 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2024-07-05 18:52:42,612 5244 [DEBUG] - Registering new command 'rule' in assembly 'choco'
|
|
2024-07-05 18:52:42,612 5244 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2024-07-05 18:52:42,628 5244 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2024-07-05 18:52:42,628 5244 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2024-07-05 18:52:42,628 5244 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2024-07-05 18:52:42,628 5244 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2024-07-05 18:52:42,646 5244 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2024-07-05 18:52:42,646 5244 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2024-07-05 18:52:42,646 5244 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2024-07-05 18:52:42,646 5244 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2024-07-05 18:52:42,646 5244 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2024-07-05 18:52:42,660 5244 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2024-07-05 18:52:42,660 5244 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2024-07-05 18:52:42,660 5244 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2024-07-05 18:52:42,660 5244 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2024-07-05 18:52:42,676 5244 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2024-07-05 18:52:42,676 5244 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2024-07-05 18:52:42,676 5244 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2024-07-05 18:52:42,676 5244 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2024-07-05 18:52:42,924 5244 [INFO ] - ============================================================
|
|
2024-07-05 18:52:43,266 5244 [INFO ] - Chocolatey v2.3.0
|
|
2024-07-05 18:52:43,287 5244 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2024-07-05 18:52:43,297 5244 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2024-07-05 18:52:43,297 5244 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2024-07-05 18:52:43,328 5244 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install win32-openssh --version 2016.05.30.20160922 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2024-07-05 18:52:43,328 5244 [DEBUG] - Received arguments: install win32-openssh --version 2016.05.30.20160922 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2024-07-05 18:52:43,470 5244 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2024-07-05 18:52:43,487 5244 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2024-07-05 18:52:43,515 5244 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2024-07-05 18:52:43,690 5244 [DEBUG] - Performing validation checks.
|
|
2024-07-05 18:52:43,710 5244 [DEBUG] - Global Configuration Validation Checks:
|
|
2024-07-05 18:52:43,710 5244 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2024-07-05 18:52:43,720 5244 [DEBUG] - System State Validation Checks:
|
|
2024-07-05 18:52:43,720 5244 [DEBUG] - Reboot Requirement Checks:
|
|
2024-07-05 18:52:43,739 5244 [DEBUG] - - Pending Computer Rename = Checked
|
|
2024-07-05 18:52:43,752 5244 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2024-07-05 18:52:43,752 5244 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2024-07-05 18:52:43,752 5244 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2024-07-05 18:52:43,769 5244 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2024-07-05 18:52:43,769 5244 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2024-07-05 18:52:43,785 5244 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2024-07-05 18:52:43,785 5244 [DEBUG] - - Elevated State = Checked
|
|
2024-07-05 18:52:43,785 5244 [DEBUG] - - Folder Exists = Checked
|
|
2024-07-05 18:52:43,800 5244 [DEBUG] - - Folder lockdown = Checked
|
|
2024-07-05 18:52:43,815 5244 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2024-07-05 18:52:43,845 5244 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2024-07-05 18:52:43,845 5244 [DEBUG] -
|
|
NOTE: Hiding sensitive configuration data! Please double and triple
|
|
check to be sure no sensitive data is shown, especially if copying
|
|
output to a gist for review.
|
|
2024-07-05 18:52:43,878 5244 [DEBUG] - Configuration: CommandName='install'|
|
|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
|
|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
|
|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
|
|
SourceType='normal'|IncludeConfiguredSources='False'|
|
|
ShowOnlineHelp='False'|Debug='True'|Verbose='True'|Trace='False'|
|
|
Force='True'|Noop='False'|HelpRequested='False'|
|
|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
|
|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
|
|
AcceptLicense='True'|AllowUnofficialBuild='False'|
|
|
Input='win32-openssh'|
|
|
Version='2016.05.30.20160922'|AllVersions='False'|
|
|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
|
|
PackageNames='win32-openssh'|Prerelease='False'|ForceX86='False'|
|
|
OverrideArguments='False'|NotSilent='False'|
|
|
ApplyPackageParametersToDependencies='False'|
|
|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
|
|
CacheExpirationInMinutes='30'|AllowDowngrade='True'|
|
|
ForceDependencies='False'|PinPackage='False'|
|
|
Information.PlatformType='Windows'|
|
|
Information.PlatformVersion='10.0.17763.0'|
|
|
Information.PlatformName='Windows Server 2019'|
|
|
Information.ChocolateyVersion='2.3.0.0'|
|
|
Information.ChocolateyProductVersion='2.3.0'|
|
|
Information.FullName='choco, Version=2.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
|
|
|
|
Information.Is64BitOperatingSystem='True'|
|
|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
|
|
Information.UserName='vagrant'|
|
|
Information.UserDomainName='WIN-R0KT51VOROK'|
|
|
Information.IsUserAdministrator='True'|
|
|
Information.IsUserSystemAccount='False'|
|
|
Information.IsUserRemoteDesktop='False'|
|
|
Information.IsUserRemote='True'|
|
|
Information.IsProcessElevated='True'|
|
|
Information.IsLicensedVersion='False'|
|
|
Information.IsLicensedAssemblyLoaded='False'|
|
|
Information.LicenseType='Foss'|
|
|
Information.CurrentDirectory='C:\Users\vagrant'|
|
|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
|
|
Features.AllowEmptyChecksums='False'|
|
|
Features.AllowEmptyChecksumsSecure='True'|
|
|
Features.FailOnAutoUninstaller='False'|
|
|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
|
|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
|
|
Features.VirusCheck='False'|
|
|
Features.FailOnInvalidOrMissingLicense='False'|
|
|
Features.IgnoreInvalidOptionsSwitches='True'|
|
|
Features.UsePackageExitCodes='True'|
|
|
Features.UseEnhancedExitCodes='False'|
|
|
Features.UseFipsCompliantChecksums='False'|
|
|
Features.ShowNonElevatedWarnings='True'|
|
|
Features.ShowDownloadProgress='False'|
|
|
Features.StopOnFirstPackageFailure='False'|
|
|
Features.UseRememberedArgumentsForUpgrades='False'|
|
|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
|
|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
|
|
Features.RemovePackageInformationOnUninstall='False'|
|
|
Features.ExitOnRebootDetected='False'|
|
|
Features.LogValidationResultsOnWarnings='True'|
|
|
Features.UsePackageRepositoryOptimizations='True'|
|
|
Features.UsePackageHashValidation='False'|
|
|
ListCommand.LocalOnly='False'|
|
|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
|
|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
|
|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
|
|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
|
|
ListCommand.ApprovedOnly='False'|
|
|
ListCommand.DownloadCacheAvailable='False'|
|
|
ListCommand.NotBroken='False'|
|
|
ListCommand.IncludeVersionOverrides='False'|
|
|
ListCommand.ExplicitPageSize='False'|
|
|
ListCommand.ExplicitSource='False'|
|
|
UpgradeCommand.FailOnUnfound='False'|
|
|
UpgradeCommand.FailOnNotInstalled='False'|
|
|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
|
|
UpgradeCommand.ExcludePrerelease='False'|
|
|
UpgradeCommand.IgnorePinned='False'|
|
|
NewCommand.AutomaticPackage='False'|
|
|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
|
|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
|
|
SourceCommand.AllowSelfService='False'|
|
|
SourceCommand.VisibleToAdminsOnly='False'|
|
|
FeatureCommand.Command='unknown'|ConfigCommand.Command='Unknown'|
|
|
ApiKeyCommand.Command='Unknown'|PinCommand.Command='Unknown'|
|
|
OutdatedCommand.IgnorePinned='False'|
|
|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
|
|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
|
|
CacheCommand.RemoveExpiredItemsOnly='False'|
|
|
2024-07-05 18:52:43,878 5244 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
|
|
2024-07-05 18:52:43,908 5244 [INFO ] - Installing the following packages:
|
|
2024-07-05 18:52:43,908 5244 [INFO ] - win32-openssh
|
|
2024-07-05 18:52:43,908 5244 [INFO ] - By installing, you accept licenses for the packages.
|
|
2024-07-05 18:52:43,935 5244 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2024-07-05 18:52:43,935 5244 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2024-07-05 18:52:43,935 5244 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2024-07-05 18:52:43,935 5244 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2024-07-05 18:52:43,935 5244 [DEBUG] - * 'ChocolateyLastPathUpdate'='133646585779637684' ('User')
|
|
2024-07-05 18:52:43,966 5244 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2024-07-05 18:52:43,966 5244 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2024-07-05 18:52:43,966 5244 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2024-07-05 18:52:43,966 5244 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin' ('Machine')
|
|
2024-07-05 18:52:43,966 5244 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2024-07-05 18:52:43,966 5244 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2024-07-05 18:52:43,966 5244 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2024-07-05 18:52:43,994 5244 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2024-07-05 18:52:43,999 5244 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2024-07-05 18:52:43,999 5244 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2024-07-05 18:52:43,999 5244 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2024-07-05 18:52:43,999 5244 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
|
|
2024-07-05 18:52:43,999 5244 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2024-07-05 18:52:43,999 5244 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
|
|
2024-07-05 18:52:44,025 5244 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
|
|
2024-07-05 18:52:44,030 5244 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2024-07-05 18:52:44,491 5244 [DEBUG] - Running list with the following filter = ''
|
|
2024-07-05 18:52:44,500 5244 [DEBUG] - --- Start of List ---
|
|
2024-07-05 18:52:44,533 5244 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2024-07-05 18:52:45,095 5244 [DEBUG] - chocolatey 2.3.0
|
|
2024-07-05 18:52:45,126 5244 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
|
|
2024-07-05 18:52:45,126 5244 [DEBUG] - KB2919355 1.0.20160915
|
|
2024-07-05 18:52:45,126 5244 [DEBUG] - KB2919442 1.0.20160915
|
|
2024-07-05 18:52:45,159 5244 [DEBUG] - KB2999226 1.0.20181019
|
|
2024-07-05 18:52:45,159 5244 [DEBUG] - KB3035131 1.0.3
|
|
2024-07-05 18:52:45,190 5244 [DEBUG] - KB3118401 1.0.5
|
|
2024-07-05 18:52:45,190 5244 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.18
|
|
2024-07-05 18:52:45,209 5244 [DEBUG] - --- End of List ---
|
|
2024-07-05 18:52:45,221 5244 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
|
|
2024-07-05 18:52:45,860 5244 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
|
|
2024-07-05 18:52:46,420 5244 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='win32-openssh',Version='2016.5.30.20160922')
|
|
2024-07-05 18:52:46,733 5244 [INFO ] - [NuGet] NotFound https://community.chocolatey.org/api/v2/Packages(Id='win32-openssh',Version='2016.5.30.20160922') 313ms
|
|
2024-07-05 18:52:46,754 5244 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='win32-openssh'&semVerLevel=2.0.0
|
|
2024-07-05 18:52:47,142 5244 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='win32-openssh'&semVerLevel=2.0.0 367ms
|
|
2024-07-05 18:52:47,346 5244 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='win32-openssh'&$skiptoken='1708805017157','2016.3.19','win32-openssh'
|
|
2024-07-05 18:52:47,641 5244 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='win32-openssh'&$skiptoken='1708805017157','2016.3.19','win32-openssh' 301ms
|
|
2024-07-05 18:52:47,706 5244 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
|
|
2024-07-05 18:52:48,369 5244 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
|
|
2024-07-05 18:52:48,374 5244 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='win32-openssh',Version='2016.5.30.20160922')
|
|
2024-07-05 18:52:48,429 5244 [INFO ] - [NuGet] NotFound https://community.chocolatey.org/api/v2/Packages(Id='win32-openssh',Version='2016.5.30.20160922') 48ms
|
|
2024-07-05 18:52:48,438 5244 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/FindPackagesById()?id='win32-openssh'&semVerLevel=2.0.0
|
|
2024-07-05 18:52:48,438 5244 [INFO ] - [NuGet] CACHE http://community.chocolatey.org/api/v2/FindPackagesById?id='win32-openssh'&$skiptoken='1708805017157','2016.3.19','win32-openssh'
|
|
2024-07-05 18:52:49,286 5244 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/$metadata
|
|
2024-07-05 18:52:49,333 5244 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/$metadata 43ms
|
|
2024-07-05 18:52:49,379 5244 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='openssh'&semVerLevel=2.0.0
|
|
2024-07-05 18:52:49,672 5244 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='openssh'&semVerLevel=2.0.0 292ms
|
|
2024-07-05 18:52:49,830 5244 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='openssh'&$skiptoken='1711581501237','0.0.11','openssh'
|
|
2024-07-05 18:52:50,190 5244 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='openssh'&$skiptoken='1711581501237','0.0.11','openssh' 355ms
|
|
2024-07-05 18:52:50,237 5244 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='openssh'&$skiptoken='1710889410533','0.0.1','openssh'
|
|
2024-07-05 18:52:50,516 5244 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='openssh'&$skiptoken='1710889410533','0.0.1','openssh' 280ms
|
|
2024-07-05 18:52:50,770 5244 [INFO ] - [NuGet] Resolving dependency information took 0 ms
|
|
2024-07-05 18:52:50,783 5244 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='openssh',Version='8.0.0.1')
|
|
2024-07-05 18:52:50,846 5244 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='openssh',Version='8.0.0.1') 58ms
|
|
2024-07-05 18:52:50,865 5244 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
|
|
2024-07-05 18:52:50,925 5244 [DEBUG] - Attempting to delete file "".
|
|
2024-07-05 18:52:50,925 5244 [INFO ] - Downloading package from source 'https://community.chocolatey.org/api/v2/'
|
|
2024-07-05 18:52:50,925 5244 [DEBUG] - Package download location 'https://community.chocolatey.org/api/v2/package/openssh/8.0.0.1'
|
|
2024-07-05 18:52:50,971 5244 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/openssh/8.0.0.1
|
|
2024-07-05 18:52:51,377 5244 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/openssh/8.0.0.1 405ms
|
|
2024-07-05 18:52:51,425 5244 [INFO ] - [NuGet] Acquiring lock for the installation of openssh 8.0.0.1
|
|
2024-07-05 18:52:51,483 5244 [INFO ] - [NuGet] Acquired lock for the installation of openssh 8.0.0.1
|
|
2024-07-05 18:52:53,131 5244 [INFO ] - [NuGet] Installed openssh 8.0.0.1 from https://community.chocolatey.org/api/v2/ with content hash lak7BlzqMNK+9hFdNuFlox9Z/uQKzWjmyNaCIV7A/K6hpKbxOTX3cCk/BJXXjFl2id7Lig+8aCzd6zThRiy9KA==.
|
|
2024-07-05 18:52:53,143 5244 [DEBUG] - Skipping package hash validation as feature 'usePackageHashValidation' is not enabled.
|
|
2024-07-05 18:52:53,204 5244 [INFO ] - [NuGet] Adding package 'openssh.8.0.0.1' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-07-05 18:52:53,411 5244 [INFO ] - [NuGet] Added package 'openssh.8.0.0.1' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-07-05 18:52:53,411 5244 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\openssh/8.0.0.1\openssh.8.0.0.1.nupkg".
|
|
2024-07-05 18:52:53,426 5244 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\openssh/8.0.0.1\.nupkg.metadata".
|
|
2024-07-05 18:52:53,426 5244 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\openssh/8.0.0.1\openssh.8.0.0.1.nupkg.sha512".
|
|
2024-07-05 18:52:53,440 5244 [INFO ] -
|
|
openssh v8.0.0.1 (forced) [Approved]
|
|
2024-07-05 18:52:53,504 5244 [INFO ] - openssh package files install completed. Performing other installation steps.
|
|
2024-07-05 18:52:53,595 5244 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\openssh\tools\chocolateyinstall.ps1':
|
|
2024-07-05 18:52:53,614 5244 [DEBUG] -
|
|
<#
|
|
ATTENTION: This code is used extensively to run under PowerShell 2.0 to update
|
|
images from RTM / SP1 source for Windows 7 and Server 2008 R2. It is also
|
|
used under Powershell Core to add OpenSSH to Nano. Test all enhancements and
|
|
fixes under these two specialty cases (speciality for Chocolatey packagers who are
|
|
likely up to the latest version on everything PowerShell).
|
|
#>
|
|
|
|
|
|
$ErrorActionPreference = 'Stop'; # stop on all errors
|
|
|
|
$ProductName = (Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' -Name 'ProductName').ProductName
|
|
$EditionId = (Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' -Name 'EditionID').EditionId
|
|
|
|
#This has to work for Win7 (no get-ciminstance) and Nano (no get-wmiobject) - each of which specially construct win32_operatingsystem.version to handle before and after Windows 10 version numbers (which are in different registry keys)
|
|
If ($psversiontable.psversion.major -lt 3)
|
|
{
|
|
$OSVersionString = (Get-WMIObject Win32_OperatingSystem).version
|
|
}
|
|
Else
|
|
{
|
|
$OSVersionString = (Get-CIMInstance Win32_OperatingSystem).version
|
|
}
|
|
|
|
|
|
Write-Output "Running on: $ProductName, ($EditionId)"
|
|
Write-Output "Windows Version: $OSVersionString"
|
|
|
|
$RunningOnNano = $False
|
|
If ($EditionId -ilike '*Nano*')
|
|
{$RunningOnNano = $True}
|
|
|
|
If (Test-Path variable:shimgen)
|
|
{$RunningUnderChocolatey = $True}
|
|
Else
|
|
{ Write-Output "Running Without Chocolatey"}
|
|
|
|
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
|
|
$OSBits = ([System.IntPtr]::Size * 8) #Get-ProcessorBits
|
|
|
|
#On 64-bit, always favor 64-bit Program Files no matter what our execution is now (works back past XP / Server 2003)
|
|
If ($env:ProgramFiles.contains('x86'))
|
|
{
|
|
$PF = $env:ProgramFiles.replace(' (x86)','')
|
|
}
|
|
Else
|
|
{
|
|
$PF = $env:ProgramFiles
|
|
}
|
|
|
|
If (Test-Path "$env:windir\sysnative")
|
|
{ #We are running in a 32-bit process under 64-bit Windows
|
|
$sys32dir = "$env:windir\sysnative"
|
|
}
|
|
Else
|
|
{ #We are on a 32-bit OS, or 64-bit proc on 64-bit OS
|
|
$sys32dir = "$env:windir\system32"
|
|
}
|
|
$filename = "$toolsdir\OpenSSH-Win$($OSBits).zip"
|
|
#$TargetFolder = "$PF\OpenSSH"
|
|
#$TargetFolderOld = "$PF\OpenSSH-Win$($OSBits)"
|
|
$TargetFolder = "$PF\OpenSSH-Win$($OSBits)"
|
|
$ExtractFolder = "$env:temp\OpenSSHTemp"
|
|
|
|
$sshdpath = Join-Path $TargetFolder "sshd.exe"
|
|
$sshagentpath = Join-Path $TargetFolder "ssh-agent.exe"
|
|
$sshdatadir = Join-Path $env:ProgramData "\ssh"
|
|
$logsdir = Join-Path $SSHDataDir "logs"
|
|
|
|
$packageArgs = @{
|
|
packageName = 'openssh'
|
|
unziplocation = "$ExtractFolder"
|
|
fileType = 'EXE_MSI_OR_MSU' #only one of these: exe, msi, msu
|
|
|
|
checksum = '0B471E0F927656113E4A1CF581694C0D735E74ED'
|
|
checksumType = 'SHA1'
|
|
checksum64 = '4CD3B34E78C354E0EF058B9B40D8802B7CA69604'
|
|
checksumType64= 'SHA1'
|
|
}
|
|
|
|
If ($RunningUnderChocolatey)
|
|
{
|
|
# Default the values before reading params
|
|
$SSHServerFeature = $false
|
|
$KeyBasedAuthenticationFeature = $false
|
|
$SSHServerPort = '22'
|
|
|
|
$arguments = @{};
|
|
$packageParameters = $env:chocolateyPackageParameters
|
|
}
|
|
|
|
$OpeningMessage = @"
|
|
|
|
************************************************************************************
|
|
************************************************************************************
|
|
This package is a Universal Installer and can ALSO install Win32-OpenSSH on
|
|
Nano, Server Core, Docker Containers and more WITHOUT using Chocolatey.
|
|
|
|
See the following for more details:
|
|
https://github.com/DarwinJS/ChocoPackages/blob/master/openssh/readme.md
|
|
************************************************************************************
|
|
************************************************************************************
|
|
|
|
"@
|
|
|
|
Write-Output $OpeningMessage
|
|
|
|
function Get-PackageParametersCustom {
|
|
[CmdletBinding()]
|
|
param(
|
|
[string] $Parameters = $Env:ChocolateyPackageParameters,
|
|
# Allows splatting with arguments that do not apply and future expansion. Do not use directly.
|
|
[parameter(ValueFromRemainingArguments = $true)]
|
|
[Object[]] $IgnoredArguments
|
|
)
|
|
|
|
$res = @{}
|
|
|
|
$re = "\/([a-zA-Z0-9]+)(:[`"'].+?[`"']|[^ ]+)?"
|
|
$results = $Parameters | Select-String $re -AllMatches | select -Expand Matches
|
|
foreach ($m in $results) {
|
|
if (!$m) { continue } # must because of posh 2.0 bug: https://github.com/chocolatey/chocolatey-coreteampackages/issues/465
|
|
|
|
$a = $m.Value -split ':'
|
|
$opt = $a[0].Substring(1); $val = $a[1..100] -join ':'
|
|
if ($val -match '^(".+")|(''.+'')$') {$val = $val -replace '^.|.$'}
|
|
$res[ $opt ] = if ($val) { $val } else { $true }
|
|
}
|
|
$res
|
|
}
|
|
|
|
|
|
# Now parse the packageParameters using good old regular expression
|
|
if ($packageparameters) {
|
|
|
|
$pp = Get-PackageParametersCustom
|
|
|
|
if ($pp.SSHAgentFeature) {
|
|
Write-Host "/SSHAgentFeature was used, including SSH Agent Service."
|
|
$SSHAgentFeature = $true
|
|
}
|
|
|
|
if ($pp.SSHServerFeature) {
|
|
Write-Host "/SSHServerFeature was used, including SSH Server Feature."
|
|
$SSHServerFeature = $true
|
|
}
|
|
|
|
if ($pp.OverWriteSSHDConf) {
|
|
Write-Host "/OverWriteSSHDConf was used, will overwrite any existing sshd_conf with one from install media."
|
|
$OverWriteSSHDConf = $true
|
|
}
|
|
|
|
if ($pp.SSHServerPort) {
|
|
$SSHServerPort = $pp.Get_Item("SSHServerPort")
|
|
Write-Host "/SSHServerPort was used, attempting to use SSHD listening port $SSHServerPort."
|
|
If (!$SSHServerFeature)
|
|
{
|
|
Write-Host "You forgot to specify /SSHServerFeature with /SSHServerPort, autofixing for you, enabling /SSHServerFeature"
|
|
$SSHServerFeature = $true
|
|
}
|
|
}
|
|
|
|
if ($pp.SSHLogLevel) {
|
|
|
|
$ValidLogSettings = @('QUIET', 'FATAL', 'ERROR', 'INFO', 'VERBOSE', 'DEBUG', 'DEBUG1', 'DEBUG2','DEBUG3')
|
|
$SSHLogLevel = $pp.Get_Item("SSHLogLevel").toupper()
|
|
If ($ValidLogSettings -inotcontains $SSHLogLevel)
|
|
{Throw "$SSHLogLevel is not one of the valid values: $(($ValidLogSettings -join ' ') | out-string)"}
|
|
Write-Host "/SSHLogLevel was used, setting LogLevel in sshd_conf to $SSHLogLevel"
|
|
}
|
|
Else
|
|
{
|
|
$SSHLogLevel = $null
|
|
}
|
|
|
|
if ($pp.AlsoLogToFile) {
|
|
$AlsoLogToFile = $True
|
|
Write-Host '/AlsoLogToFile was used, setting AlsoLogToFile to $True'
|
|
}
|
|
|
|
if ($pp.TERM) {
|
|
$TERM = $pp.Get_Item("TERM")
|
|
Write-Host "/TERM was used, setting system TERM environment variable to $TERM"
|
|
$TERMSwitchUsed = $True
|
|
}
|
|
|
|
if ($pp.KeyBasedAuthenticationFeature) {
|
|
Write-Host "Including Key based authentication."
|
|
$KeyBasedAuthenticationFeature = $true
|
|
If (!$SSHServerFeature)
|
|
{
|
|
Write-Warning "KeyBasedAuthenticationFeature was specified, but is only value when SSHServerFeature is specified, ignoring..."
|
|
}
|
|
}
|
|
|
|
if ($pp.PathSpecsToProbeForShellEXEString) {
|
|
$PathSpecsToProbeForShellEXEString = $pp.Get_Item("PathSpecsToProbeForShellEXEString")
|
|
|
|
Write-Host "PathSpecsToProbeForShellEXEString was used, probing for suitable shell using search specs: $PathSpecsToProbeForShellEXEString"
|
|
}
|
|
|
|
if ($pp.AllowInsecureShellEXE) {
|
|
$AllowInsecureShellEXE = $True
|
|
}
|
|
|
|
if ($pp.SSHDefaultShellCommandOption) {
|
|
$SSHDefaultShellCommandOption = $pp.Get_Item("SSHDefaultShellCommandOption")
|
|
}
|
|
|
|
} else {
|
|
Write-Debug "No Package Parameters Passed in";
|
|
}
|
|
|
|
Function CheckServicePath ($ServiceEXE,$FolderToCheck)
|
|
{
|
|
if ($RunningOnNano) {
|
|
#The NANO TP5 Compatible Way:
|
|
Return ([bool](@(wmic service | ?{$_ -ilike "*$ServiceEXE*"}) -ilike "*$FolderToCheck*"))
|
|
}
|
|
Else
|
|
{
|
|
#The modern way:
|
|
Return ([bool]((Get-WmiObject win32_service | ?{$_.PathName -ilike "*$ServiceEXE*"} | select -expand PathName) -ilike "*$FolderToCheck*"))
|
|
}
|
|
}
|
|
|
|
#Extract Files Early
|
|
If ($RunningUnderChocolatey)
|
|
{
|
|
If (Test-Path $ExtractFolder)
|
|
{
|
|
Remove-Item $ExtractFolder -Recurse -Force
|
|
}
|
|
Get-ChocolateyUnzip "$filename" $ExtractFolder
|
|
}
|
|
Else
|
|
{
|
|
If (Test-Path "$toolsdir\7z.exe")
|
|
{
|
|
#covers nano
|
|
cd $toolsdir
|
|
start-process .\7z.exe -argumentlist "x `"$filename`" -o`"$ExtractFolder`" -aoa" -nonewwindow -wait
|
|
}
|
|
Else
|
|
{
|
|
Throw "You need a copy of 7z.exe next to this script for this operating system. You can get a copy at 7-zip.org"
|
|
}
|
|
}
|
|
|
|
If ($SSHServerFeature -OR $SSHAgentFeature)
|
|
{
|
|
. "$toolsdir\SetSpecialPrivileges.ps1"
|
|
}
|
|
|
|
If ($SSHServerFeature)
|
|
{ #Check if anything is already listening on port $SSHServerPort, which is not a previous version of this software.
|
|
$AtLeastOneSSHDPortListenerIsNotUs = $False
|
|
Write-Output "Probing for possible conflicts with SSHD server to be configured on port $SSHServerPort ..."
|
|
. "$toolsdir\Get-NetStat.ps1"
|
|
$procslisteningonRequestedSSHDPort = @(Get-Netstat -GetProcessDetails -FilterOnPort $SSHServerPort)
|
|
If ((checkservicepath 'svchost.exe -k SshBrokerGroup' 'Part of Microsoft SSH Server for Windows') -AND (checkservicepath 'svchost.exe -k SshProxyGroup' 'Part of Microsoft SSH Server for Windows'))
|
|
{
|
|
Write-Warning " > Detected that Developer Mode SSH is present (Probably due to enabling Windows 10 Developer Mode)"
|
|
$DeveloperModeSSHIsPresent = $True
|
|
}
|
|
|
|
If ($procslisteningonRequestedSSHDPort.count -ge 1)
|
|
{
|
|
ForEach ($proconRequestedSSHDPort in $procslisteningonRequestedSSHDPort)
|
|
{
|
|
Write-output " > Checking $($proconRequestedSSHDPort.Localaddressprocesspath) against path $TargetFolder"
|
|
If ("$($proconRequestedSSHDPort.Localaddressprocesspath)" -ilike "*$TargetFolder*")
|
|
{
|
|
Write-Output " > Found a previous version of Win32-OpenSSH installed by this package on Port $SSHServerPort."
|
|
}
|
|
Else
|
|
{
|
|
$AtLeastOneSSHDPortListenerIsNotUs = $True
|
|
Write-Warning " > Found something listening on Port $SSHServerPort that was not installed by this package."
|
|
Write-Warning " $($proconRequestedSSHDPort.LocalAddressProcessPath) is listening on Port $SSHServerPort"
|
|
$ProcessOccupyingPort = "$($proconRequestedSSHDPort.LocalAddressProcessPath)"
|
|
}
|
|
}
|
|
}
|
|
|
|
If ($AtLeastOneSSHDPortListenerIsNotUs)
|
|
{
|
|
$errorMessagePort = @"
|
|
"$ProcessOccupyingPort" is listening on port $SSHServerPort and you have not specified a different listening port (list above) using the /SSHServerPort parameter.
|
|
Please either deconfigure or deinstall whatever is running on Port $SSHServerPort and try again OR specify a different port for this SSHD Server using the /SSHServerPort package parameter.
|
|
If you see the message 'Detected that Developer Mode SSH is present' above, you may be able to simply disable the services 'SSHBroker' and 'SSHProxy'
|
|
"@
|
|
Throw $errorMessagePort
|
|
}
|
|
}
|
|
|
|
$SSHServiceInstanceExistsAndIsOurs = CheckServicePath 'sshd.exe' "$TargetFolder"
|
|
$SSHAGENTServiceInstanceExistsAndIsOurs = CheckServicePath 'ssh-agent.exe' "$TargetFolder"
|
|
|
|
If ($SSHServerFeature -AND (!$SSHServiceInstanceExistsAndIsOurs) -AND ([bool](Get-Service sshd -ErrorAction SilentlyContinue)))
|
|
{
|
|
$ExistingSSHDInstancePath = get-itemproperty hklm:\system\currentcontrolset\services\* | where {($_.ImagePath -ilike '*sshd.exe*')} | Select -expand ImagePath
|
|
Throw "You have requested that the SSHD service be installed, but this system appears to have an instance of an SSHD service configured for another folder ($ExistingSSHDInstancePath). You can remove the package switch /SSHServerFeature to install just the client tools, or you will need to remove that instance of SSHD to use the one that comes with this package."
|
|
}
|
|
|
|
If ((!$SSHServerFeature) -AND $SSHServiceInstanceExistsAndIsOurs)
|
|
{
|
|
Throw "There is a configured instance of the SSHD service, please specify the /SSHServerFeature to confirm it is OK to shutdown and upgrade the SSHD service at this time."
|
|
}
|
|
|
|
If ([bool](get-process ssh -erroraction silentlycontinue | where {$_.Path -ilike "*$TargetFolder*"}))
|
|
{
|
|
Throw "It appears you have instances of ssh.exe (client) running from the folder this package installs to, please terminate them and try again."
|
|
}
|
|
|
|
If ((Test-Path $TargetFolder) -AND (@(dir "$TargetFolder\*.exe").count -gt 0))
|
|
{
|
|
Write-Output "`r`nCURRENT VERSIONS OF SSH EXES:"
|
|
Write-Output "$(dir "$TargetFolder\*.exe"| select -expand fullname | get-command | select -expand fileversioninfo | ft filename, fileversion -auto | out-string)"
|
|
}
|
|
|
|
If ($SSHServiceInstanceExistsAndIsOurs -AND ([bool](Get-Service SSHD -ErrorAction SilentlyContinue | where {$_.Status -ieq 'Running'})))
|
|
{
|
|
#Shutdown and unregister service for upgrade
|
|
stop-service sshd -Force
|
|
Start-Sleep -seconds 3
|
|
If (([bool](Get-Service SSHD | where {$_.Status -ieq 'Running'})))
|
|
{
|
|
Throw "Could not stop the SSHD service, please stop manually and retry this package."
|
|
}
|
|
|
|
}
|
|
|
|
If ($SSHServiceInstanceExistsAndIsOurs)
|
|
{
|
|
Write-output "Stopping SSHD Service for upgrade..."
|
|
Stop-Service sshd
|
|
sc.exe delete sshd | out-null
|
|
}
|
|
If ($SSHAGENTServiceInstanceExistsAndIsOurs)
|
|
{
|
|
Stop-Service SSH-Agent -Force
|
|
Start-Sleep -seconds 3
|
|
If (([bool](Get-Service ssh-agent | where {$_.Status -ieq 'Running'})))
|
|
{
|
|
Throw "Could not stop the ssh-agent service, please stop manually and retry this package."
|
|
}
|
|
sc.exe delete ssh-agent | out-null
|
|
}
|
|
|
|
If ($OSBits -eq 64)
|
|
{
|
|
$SourceZipChecksum = $packageargs.checksum64
|
|
$SourceZipChecksumType = $packageargs.checksumType64
|
|
}
|
|
Else
|
|
{
|
|
$SourceZipChecksum = $packageargs.checksum
|
|
$SourceZipChecksumType = $packageargs.checksumType
|
|
}
|
|
|
|
If ([bool](get-command get-filehash -ea silentlycontinue))
|
|
{
|
|
If ((Get-FileHash $filename -Algorithm $SourceZipChecksumType).Hash -eq $SourceZipChecksum)
|
|
{
|
|
Write-Output "Hashes for internal source match"
|
|
}
|
|
Else
|
|
{
|
|
throw "Checksums for internal source do not match - something is wrong."
|
|
}
|
|
}
|
|
Else
|
|
{
|
|
Write-Output "Source files are internal to the package, checksums are not required nor checked."
|
|
}
|
|
|
|
Copy-Item "$ExtractFolder\*" "$PF" -Force -Recurse -Passthru -ErrorAction Stop
|
|
Copy-Item "$toolsdir\Set-SSHDefaultShell.ps1" "$TargetFolder" -Force -PassThru -ErrorAction Stop
|
|
|
|
Remove-Item "$ExtractFolder" -Force -Recurse
|
|
|
|
If ($RunningUnderChocolatey)
|
|
{
|
|
Install-ChocolateyPath "$TargetFolder" 'Machine'
|
|
}
|
|
Else
|
|
{
|
|
$PathToAdd = $TargetFolder
|
|
$ExistingPathArray = @(((Get-ItemProperty 'Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment' | select -expand path).split(';')))
|
|
if (($ExistingPathArray -inotcontains $PathToAdd) -AND ($ExistingPathArray -inotcontains "$PathToAdd\"))
|
|
{
|
|
$Newpath = $ExistingPathArray + @("$PathToAdd")
|
|
$AssembledNewPath = ($newpath -join(';')).trimend(';')
|
|
Set-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment' -Name 'PATH' -Value "$AssembledNewPath"
|
|
}
|
|
}
|
|
If ($env:Path -inotlike "*$TargetFolder*")
|
|
{
|
|
$env:path += ";$TargetFolder"
|
|
}
|
|
|
|
$ExistingTermValue = $null
|
|
$ExistingTermValue = (get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment' -EA SilentlyContinue | Select -Expand TERM -EA SilentlyContinue)
|
|
|
|
If ((!$ExistingTermValue) -OR ($ExistingTermValue -ine $TERM))
|
|
{
|
|
Write-Host "Updating machine environment variable TERM from `"$ExistingTermValue`" to `"$TERM`""
|
|
Set-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment' -Name 'TERM' -Value "$TERM"
|
|
}
|
|
|
|
If ($SSHAgentFeature)
|
|
{
|
|
New-Service -Name ssh-agent -BinaryPathName "$TargetFolder\ssh-agent.exe" -Description "SSH Agent" -StartupType Automatic | Out-Null
|
|
cmd.exe /c 'sc.exe sdset ssh-agent D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)(A;;RP;;;AU)'
|
|
|
|
Start-Service ssh-agent
|
|
|
|
Start-Sleep -seconds 3
|
|
}
|
|
|
|
If ($SSHServerFeature)
|
|
{
|
|
Write-Warning "You have specified SSHServerFeature - this machine is being configured as an SSH Server including opening port $SSHServerPort."
|
|
|
|
|
|
#create the ssh config folder and set its permissions
|
|
if(-not (test-path $sshdatadir -PathType Container))
|
|
{
|
|
$null = New-Item $sshdatadir -ItemType Directory -Force -ErrorAction Stop
|
|
}
|
|
$acl = Get-Acl -Path $sshdatadir
|
|
# following SDDL implies
|
|
# - owner - built in Administrators
|
|
# - disabled inheritance
|
|
# - Full access to System
|
|
# - Full access to built in Administrators
|
|
$acl.SetSecurityDescriptorSddlForm("O:BAD:PAI(A;OICI;FA;;;SY)(A;OICI;FA;;;BA)(A;OICI;0x1200a9;;;AU)")
|
|
Set-Acl -Path $sshdatadir -AclObject $acl
|
|
|
|
# create logs folder and set its permissions
|
|
if(-not (test-path $logsdir -PathType Container))
|
|
{
|
|
$null = New-Item $logsdir -ItemType Directory -Force -ErrorAction Stop
|
|
}
|
|
$acl = Get-Acl -Path $logsdir
|
|
# following SDDL implies
|
|
# - owner - built in Administrators
|
|
# - disabled inheritance
|
|
# - Full access to System
|
|
# - Full access to built in Administrators
|
|
$acl.SetSecurityDescriptorSddlForm("O:BAD:PAI(A;OICI;FA;;;SY)(A;OICI;FA;;;BA)")
|
|
Set-Acl -Path $logsdir -AclObject $acl
|
|
|
|
If((Test-Path "$TargetFolder\sshd_config"))
|
|
{
|
|
Write-Host "Migrating existing sshd_config to new location `"$sshdatadir`""
|
|
Move-Item "$TargetFolder\sshd_config" $sshdatadir -force
|
|
}
|
|
|
|
#for clean config copy sshd_config_default to $sshdatadir\sshd_config
|
|
$sshdconfigpath = Join-Path $sshdatadir "sshd_config"
|
|
$sshddefaultconfigpath = Join-Path $TargetFolder "sshd_config_default"
|
|
if(-not (test-path $sshdconfigpath -PathType Leaf))
|
|
{
|
|
$null = Copy-Item $sshddefaultconfigpath -Destination $sshdconfigpath -ErrorAction Stop
|
|
}
|
|
|
|
If((Test-Path "$TargetFolder\ssh_host_*"))
|
|
{
|
|
Write-Host "Migrating existing ssh host keys to new location `"$sshdatadir`""
|
|
Move-Item "$TargetFolder\ssh_host_*" $sshdatadir -force
|
|
}
|
|
|
|
If ($RunningOnNano)
|
|
{
|
|
Write-Warning "Forcing on"
|
|
$AlsoLogToFile = $True
|
|
}
|
|
|
|
If((Test-Path "$sshdconfigpath"))
|
|
{
|
|
$CurrentLogLevelConfig = ((gc "$sshdconfigpath") -imatch "^#*LogLevel\s\w*\b.*$")
|
|
Write-Output 'Setting up SSH Logging'
|
|
If ($SSHLogLevel)
|
|
{ #command line specified a log level - override whatever is there
|
|
If ([bool]($CurrentLogLevelConfig -inotmatch "^LogLevel\s$SSHLogLevel\s*$"))
|
|
{
|
|
Write-Output "Current LogLevel setting in `"$sshdconfigpath`" is `"$CurrentLogLevelConfig`", setting it to `"LogLevel $SSHLogLevel`""
|
|
(Get-Content "$sshdconfigpath") -replace "^#*LogLevel\s\w*\b.*$", "LogLevel $SSHLogLevel" | Set-Content "$sshdconfigpath"
|
|
}
|
|
}
|
|
|
|
$CurrentPortConfig = ((gc "$sshdconfigpath") -match "^#*Port\s\d*\s*$")
|
|
If ([bool]($CurrentPortConfig -notmatch "^Port $SSHServerPort"))
|
|
{
|
|
Write-Output "Current port setting in `"$sshdconfigpath`" is `"$CurrentPortConfig`", setting it to `"Port $SSHServerPort`""
|
|
(Get-Content "$sshdconfigpath") -replace "^#*Port\s\d*\s*$", "Port $SSHServerPort" | Set-Content "$sshdconfigpath"
|
|
}
|
|
Else
|
|
{
|
|
Write-Output "Current port setting in `"$sshdconfigpath`" already matches `"Port $SSHServerPort`", no action necessary."
|
|
}
|
|
|
|
If ($AlsoLogToFile)
|
|
{
|
|
If ((Get-Content "$sshdconfigpath") -notmatch "^Subsystem\ssftp\ssftp-server\.exe.*LOCAL0.*$")
|
|
{
|
|
(Get-Content "$sshdconfigpath") -replace "^Subsystem\ssftp\ssftp-server\.exe.*$", "SyslogFacility LOCAL0" | Set-Content "$sshdconfigpath"
|
|
}
|
|
}
|
|
}
|
|
|
|
If ($PathSpecsToProbeForShellEXEString)
|
|
{
|
|
$ParamsSSHDefaultShell = @{}
|
|
$ParamsSSHDefaultShell.add('PathSpecsToProbeForShellEXEString',"$PathSpecsToProbeForShellEXEString")
|
|
If ($AllowInsecureShellEXE) {$ParamsSSHDefaultShell += @{'AllowInsecureShellEXE'=$AllowInsecureShellEXE}
|
|
If ($SSHDefaultShellCommandOption) {$ParamsSSHDefaultShell += @{'SSHDefaultShellCommandOption'="$SSHDefaultShellCommandOption"}
|
|
|
|
Write-Host "$ParamsSSHDefaultShell"
|
|
|
|
. $TargetFolder\Set-SSHDefaultShell.ps1 @ParamsSSHDefaultShell
|
|
}
|
|
|
|
netsh advfirewall firewall add rule name='SSHD Port OpenSSH (chocolatey package: openssh)' dir=in action=allow protocol=TCP localport=$SSHServerPort
|
|
|
|
If (!$RunningOnNano)
|
|
{
|
|
$etwman = Join-Path $TargetFolder "openssh-events.man"
|
|
|
|
# unregister etw provider
|
|
wevtutil um `"$etwman`"
|
|
|
|
# adjust provider resource path in instrumentation manifest
|
|
[XML]$xml = Get-Content $etwman
|
|
$xml.instrumentationManifest.instrumentation.events.provider.resourceFileName = $sshagentpath.ToString()
|
|
$xml.instrumentationManifest.instrumentation.events.provider.messageFileName = $sshagentpath.ToString()
|
|
$xml.Save($etwman)
|
|
|
|
#register etw provider
|
|
wevtutil im `"$etwman`"
|
|
}
|
|
|
|
New-Service -Name sshd -BinaryPathName "$TargetFolder\sshd.exe" -Description "SSH Daemon" -StartupType Automatic | Out-Null
|
|
|
|
Write-Host "Ensuring all ssh key and configuration files have correct permissions for all users"
|
|
. "$TargetFolder\FixHostFilePermissions.ps1" -Confirm:$false
|
|
}
|
|
|
|
If (CheckServicePath 'sshd.exe' "$TargetFolder")
|
|
{
|
|
write-output "Starting SSHD..."
|
|
Start-Service SSHD
|
|
}
|
|
If (CheckServicePath 'ssh-agent.exe' "$TargetFolder")
|
|
{
|
|
write-output "Starting SSH-Agent..."
|
|
Start-Service SSH-Agent
|
|
}
|
|
|
|
$fullpathkeylist = "'$sshdatadir\ssh_host_dsa_key'", "'$sshdatadir\ssh_host_rsa_key'", "'$sshdatadir\ssh_host_ecdsa_key'", "'$sshdatadir\ssh_host_ed25519_key'"
|
|
|
|
If (Test-Path "$TargetFolder\ssh.exe")
|
|
{
|
|
Write-Output "`r`nNEW VERSIONS OF SSH EXES:"
|
|
Write-Output "$(dir "$TargetFolder\*.exe" | select -expand fullname | get-command | select -expand fileversioninfo | ft filename, fileversion -auto | out-string)"
|
|
}
|
|
|
|
write-output ""
|
|
Write-Warning "You must start a new prompt, or use the command 'refreshenv' (provided by your chocolatey install) to re-read the environment for the tools to be available in this shell session."
|
|
|
|
2024-07-05 18:52:53,655 5244 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\openssh\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
|
|
2024-07-05 18:52:53,655 5244 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2024-07-05 18:52:54,316 5244 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.5830' and CLR Version is '4.0.30319.42000'.
|
|
2024-07-05 18:52:54,874 5244 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\helpers\Chocolatey.PowerShell.dll'.
|
|
2024-07-05 18:52:54,909 5244 [DEBUG] - Returning loaded assembly type for 'Chocolatey.PowerShell'
|
|
2024-07-05 18:52:54,940 5244 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
|
|
2024-07-05 18:52:54,970 5244 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-07-05 18:52:54,970 5244 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
|
|
2024-07-05 18:52:54,991 5244 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
|
|
2024-07-05 18:52:54,991 5244 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
|
|
2024-07-05 18:52:55,002 5244 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-07-05 18:52:55,002 5244 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
|
|
2024-07-05 18:52:55,032 5244 [DEBUG] - Cmdlets exported from Chocolatey.PowerShell.dll
|
|
2024-07-05 18:52:55,052 5244 [DEBUG] - Get-EnvironmentVariable
|
|
2024-07-05 18:52:55,052 5244 [DEBUG] - Get-EnvironmentVariableNames
|
|
2024-07-05 18:52:55,052 5244 [DEBUG] - Install-ChocolateyPath
|
|
2024-07-05 18:52:55,066 5244 [DEBUG] - Set-EnvironmentVariable
|
|
2024-07-05 18:52:55,066 5244 [DEBUG] - Test-ProcessAdminRights
|
|
2024-07-05 18:52:55,066 5244 [DEBUG] - Uninstall-ChocolateyPath
|
|
2024-07-05 18:52:55,083 5244 [DEBUG] - Update-SessionEnvironment
|
|
2024-07-05 18:52:55,097 5244 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-07-05 18:52:55,097 5244 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-07-05 18:52:55,097 5244 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-07-05 18:52:55,097 5244 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-07-05 18:52:55,116 5244 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-07-05 18:52:55,116 5244 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-07-05 18:52:55,126 5244 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-07-05 18:52:55,126 5244 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-07-05 18:52:55,126 5244 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-07-05 18:52:55,126 5244 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-07-05 18:52:55,148 5244 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-07-05 18:52:55,216 5244 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-07-05 18:52:55,247 5244 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-07-05 18:52:55,247 5244 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-07-05 18:52:55,247 5244 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-07-05 18:52:55,247 5244 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-07-05 18:52:55,247 5244 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-07-05 18:52:55,247 5244 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-07-05 18:52:55,277 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-07-05 18:52:55,280 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-07-05 18:52:55,280 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-07-05 18:52:55,280 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-07-05 18:52:55,280 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-07-05 18:52:55,280 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-07-05 18:52:55,307 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-07-05 18:52:55,312 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-07-05 18:52:55,312 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-07-05 18:52:55,312 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-07-05 18:52:55,312 5244 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-07-05 18:52:55,312 5244 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-07-05 18:52:55,338 5244 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-07-05 18:52:55,343 5244 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-07-05 18:52:55,343 5244 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-07-05 18:52:55,343 5244 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-07-05 18:52:55,343 5244 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-07-05 18:52:55,343 5244 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-07-05 18:52:55,370 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
|
|
2024-07-05 18:52:55,373 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-07-05 18:52:55,373 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
|
|
2024-07-05 18:52:55,373 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
|
|
2024-07-05 18:52:55,373 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
|
|
2024-07-05 18:52:55,404 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-07-05 18:52:55,404 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
|
|
2024-07-05 18:52:55,404 5244 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-07-05 18:52:55,404 5244 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-07-05 18:52:55,404 5244 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-07-05 18:52:55,404 5244 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-07-05 18:52:55,436 5244 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-07-05 18:52:55,436 5244 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-07-05 18:52:55,436 5244 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-07-05 18:52:55,436 5244 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-07-05 18:52:55,436 5244 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-07-05 18:52:55,467 5244 [DEBUG] - Loading community extensions
|
|
2024-07-05 18:52:55,494 5244 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2024-07-05 18:52:55,499 5244 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2024-07-05 18:52:55,626 5244 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-07-05 18:52:55,626 5244 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-07-05 18:52:55,648 5244 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-07-05 18:52:55,648 5244 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-07-05 18:52:55,658 5244 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-07-05 18:52:55,676 5244 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-07-05 18:52:55,676 5244 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-07-05 18:52:55,676 5244 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-07-05 18:52:55,692 5244 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-07-05 18:52:55,692 5244 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-07-05 18:52:55,692 5244 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-07-05 18:52:55,706 5244 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-07-05 18:52:55,706 5244 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-07-05 18:52:55,706 5244 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-07-05 18:52:55,706 5244 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-07-05 18:52:55,725 5244 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-07-05 18:52:55,725 5244 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-07-05 18:52:55,737 5244 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-07-05 18:52:55,737 5244 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-07-05 18:52:55,737 5244 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-07-05 18:52:55,737 5244 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-07-05 18:52:55,756 5244 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-07-05 18:52:55,756 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-07-05 18:52:55,756 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-07-05 18:52:55,770 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-07-05 18:52:55,770 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-07-05 18:52:55,770 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-07-05 18:52:55,786 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-07-05 18:52:55,786 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-07-05 18:52:55,786 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-07-05 18:52:55,786 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-07-05 18:52:55,801 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-07-05 18:52:55,801 5244 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-07-05 18:52:55,801 5244 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-07-05 18:52:55,817 5244 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-07-05 18:52:55,817 5244 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-07-05 18:52:55,831 5244 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-07-05 18:52:55,831 5244 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-07-05 18:52:55,831 5244 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-07-05 18:52:55,849 5244 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-07-05 18:52:55,849 5244 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-07-05 18:52:55,849 5244 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-07-05 18:52:55,863 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
|
|
2024-07-05 18:52:55,863 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-07-05 18:52:55,863 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
|
|
2024-07-05 18:52:55,863 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
|
|
2024-07-05 18:52:55,881 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
|
|
2024-07-05 18:52:55,894 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-07-05 18:52:55,894 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
|
|
2024-07-05 18:52:55,894 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
|
|
2024-07-05 18:52:55,912 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-07-05 18:52:55,912 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
|
|
2024-07-05 18:52:55,912 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
|
|
2024-07-05 18:52:55,928 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
|
|
2024-07-05 18:52:55,928 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-07-05 18:52:55,941 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
|
|
2024-07-05 18:52:55,941 5244 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-07-05 18:52:55,941 5244 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-07-05 18:52:55,941 5244 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-07-05 18:52:55,959 5244 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-07-05 18:52:55,959 5244 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-07-05 18:52:55,959 5244 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-07-05 18:52:55,972 5244 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-07-05 18:52:55,972 5244 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-07-05 18:52:55,972 5244 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-07-05 18:52:55,972 5244 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
|
|
2024-07-05 18:52:55,994 5244 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-07-05 18:52:56,000 5244 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
|
|
2024-07-05 18:52:56,000 5244 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
|
|
2024-07-05 18:52:56,000 5244 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
|
|
2024-07-05 18:52:56,000 5244 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-07-05 18:52:56,000 5244 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
|
|
2024-07-05 18:52:56,024 5244 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2024-07-05 18:52:56,032 5244 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2024-07-05 18:52:56,032 5244 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2024-07-05 18:52:56,032 5244 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2024-07-05 18:52:56,032 5244 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2024-07-05 18:52:56,032 5244 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2024-07-05 18:52:56,055 5244 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2024-07-05 18:52:56,055 5244 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2024-07-05 18:52:56,064 5244 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2024-07-05 18:52:56,064 5244 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2024-07-05 18:52:56,064 5244 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2024-07-05 18:52:56,064 5244 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2024-07-05 18:52:56,086 5244 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2024-07-05 18:52:56,086 5244 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2024-07-05 18:52:56,094 5244 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2024-07-05 18:52:56,094 5244 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2024-07-05 18:52:56,094 5244 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2024-07-05 18:52:56,094 5244 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2024-07-05 18:52:56,094 5244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-07-05 18:52:56,118 5244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-07-05 18:52:56,126 5244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2024-07-05 18:52:56,126 5244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2024-07-05 18:52:56,126 5244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2024-07-05 18:52:56,126 5244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-07-05 18:52:56,126 5244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2024-07-05 18:52:56,126 5244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2024-07-05 18:52:56,151 5244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2024-07-05 18:52:56,157 5244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2024-07-05 18:52:56,157 5244 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2024-07-05 18:52:56,157 5244 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-07-05 18:52:56,157 5244 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2024-07-05 18:52:56,157 5244 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-07-05 18:52:56,180 5244 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-07-05 18:52:56,189 5244 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2024-07-05 18:52:56,189 5244 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-07-05 18:52:56,189 5244 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2024-07-05 18:52:56,189 5244 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-07-05 18:52:56,189 5244 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2024-07-05 18:52:56,211 5244 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2024-07-05 18:52:56,220 5244 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2024-07-05 18:52:56,220 5244 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2024-07-05 18:52:56,220 5244 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2024-07-05 18:52:56,220 5244 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2024-07-05 18:52:56,220 5244 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2024-07-05 18:52:56,243 5244 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2024-07-05 18:52:56,243 5244 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2024-07-05 18:52:56,252 5244 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2024-07-05 18:52:56,364 5244 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2024-07-05 18:52:56,396 5244 [DEBUG] - Running 'ChocolateyScriptRunner' for openssh v8.0.0.1 with packageScript 'C:\ProgramData\chocolatey\lib\openssh\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\openssh', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2024-07-05 18:52:56,439 5244 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\openssh\tools\chocolateyinstall.ps1'
|
|
2024-07-05 18:52:57,070 5244 [INFO ] - VERBOSE: Perform operation 'Enumerate CimInstances' with following parameters, ''namespaceName' = root\cimv2,'className' = Win32_OperatingSystem'.
|
|
2024-07-05 18:52:57,202 5244 [INFO ] - VERBOSE: Operation 'Enumerate CimInstances' complete.
|
|
2024-07-05 18:52:57,234 5244 [INFO ] - Running on: Windows Server 2019 Datacenter, (ServerDatacenter)
|
|
2024-07-05 18:52:57,260 5244 [INFO ] - Windows Version: 10.0.17763
|
|
2024-07-05 18:52:57,298 5244 [INFO ] -
|
|
************************************************************************************
|
|
************************************************************************************
|
|
This package is a Universal Installer and can ALSO install Win32-OpenSSH on
|
|
Nano, Server Core, Docker Containers and more WITHOUT using Chocolatey.
|
|
|
|
See the following for more details:
|
|
https://github.com/DarwinJS/ChocoPackages/blob/master/openssh/readme.md
|
|
************************************************************************************
|
|
************************************************************************************
|
|
|
|
2024-07-05 18:52:57,298 5244 [DEBUG] - No Package Parameters Passed in
|
|
2024-07-05 18:52:57,454 5244 [DEBUG] - Running Get-ChocolateyUnzip -fileFullPath 'C:\ProgramData\chocolatey\lib\openssh\tools\OpenSSH-Win64.zip' -destination 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\OpenSSHTemp'
|
|
2024-07-05 18:52:57,475 5244 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
|
|
2024-07-05 18:52:57,518 5244 [INFO ] - Extracting C:\ProgramData\chocolatey\lib\openssh\tools\OpenSSH-Win64.zip to C:\Users\vagrant\AppData\Local\Temp\chocolatey\OpenSSHTemp...
|
|
2024-07-05 18:52:57,566 5244 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
|
|
2024-07-05 18:52:57,613 5244 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\Users\vagrant\AppData\Local\Temp\chocolatey\OpenSSHTemp" -y "C:\ProgramData\chocolatey\lib\openssh\tools\OpenSSH-Win64.zip"]
|
|
2024-07-05 18:52:57,967 5244 [INFO ] - VERBOSE:
|
|
2024-07-05 18:52:57,967 5244 [INFO ] - VERBOSE: 1 file, 3374244 bytes (3296 KiB)
|
|
2024-07-05 18:52:57,967 5244 [INFO ] - VERBOSE:
|
|
2024-07-05 18:52:57,994 5244 [INFO ] - VERBOSE: Scanning the drive for archives:
|
|
2024-07-05 18:52:58,001 5244 [INFO ] - VERBOSE:
|
|
2024-07-05 18:52:58,001 5244 [INFO ] - VERBOSE: 7-Zip 23.01 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
|
|
2024-07-05 18:52:58,001 5244 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\openssh\tools\OpenSSH-Win64.zip
|
|
2024-07-05 18:52:58,001 5244 [INFO ] - VERBOSE: --
|
|
2024-07-05 18:52:58,025 5244 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\openssh\tools\OpenSSH-Win64.zip
|
|
2024-07-05 18:52:58,032 5244 [INFO ] - VERBOSE:
|
|
2024-07-05 18:52:58,032 5244 [INFO ] - VERBOSE: - OpenSSH-Win64\
|
|
2024-07-05 18:52:58,055 5244 [INFO ] - VERBOSE: - OpenSSH-Win64\FixHostFilePermissions.ps1
|
|
2024-07-05 18:52:58,064 5244 [INFO ] - VERBOSE: - OpenSSH-Win64\FixUserFilePermissions.ps1
|
|
2024-07-05 18:52:58,118 5244 [INFO ] - VERBOSE: Type = zip
|
|
2024-07-05 18:52:58,128 5244 [INFO ] - VERBOSE: Physical Size = 3374244
|
|
2024-07-05 18:52:58,128 5244 [INFO ] - VERBOSE: - OpenSSH-Win64\OpenSSHUtils.psd1
|
|
2024-07-05 18:52:58,128 5244 [INFO ] - VERBOSE: - OpenSSH-Win64\ssh-add.exe
|
|
2024-07-05 18:52:58,128 5244 [INFO ] - VERBOSE: - OpenSSH-Win64\sftp.exe
|
|
2024-07-05 18:52:58,148 5244 [INFO ] - VERBOSE: - OpenSSH-Win64\sftp-server.exe
|
|
2024-07-05 18:52:58,148 5244 [INFO ] - VERBOSE: - OpenSSH-Win64\openssh-events.man
|
|
2024-07-05 18:52:58,158 5244 [INFO ] - VERBOSE: - OpenSSH-Win64\ssh-agent.exe
|
|
2024-07-05 18:52:58,158 5244 [INFO ] - VERBOSE: - OpenSSH-Win64\install-sshd.ps1
|
|
2024-07-05 18:52:58,158 5244 [INFO ] - VERBOSE: - OpenSSH-Win64\ssh-keygen.exe
|
|
2024-07-05 18:52:58,179 5244 [INFO ] - VERBOSE: - OpenSSH-Win64\libcrypto.dll
|
|
2024-07-05 18:52:58,179 5244 [INFO ] - VERBOSE: - OpenSSH-Win64\OpenSSHUtils.psm1
|
|
2024-07-05 18:52:58,190 5244 [INFO ] - VERBOSE: - OpenSSH-Win64\scp.exe
|
|
2024-07-05 18:52:58,190 5244 [INFO ] - VERBOSE: - OpenSSH-Win64\ssh-keyscan.exe
|
|
2024-07-05 18:52:58,190 5244 [INFO ] - VERBOSE: - OpenSSH-Win64\ssh-shellhost.exe
|
|
2024-07-05 18:52:58,210 5244 [INFO ] - VERBOSE: - OpenSSH-Win64\ssh.exe
|
|
2024-07-05 18:52:58,210 5244 [INFO ] - VERBOSE: - OpenSSH-Win64\uninstall-sshd.ps1
|
|
2024-07-05 18:52:58,222 5244 [INFO ] - VERBOSE: - OpenSSH-Win64\sshd_config_default
|
|
2024-07-05 18:52:58,222 5244 [INFO ] - VERBOSE: - OpenSSH-Win64\sshd.exe
|
|
2024-07-05 18:52:58,222 5244 [INFO ] - VERBOSE: Compressed: 3374244
|
|
2024-07-05 18:52:58,241 5244 [INFO ] - VERBOSE: Folders: 1
|
|
2024-07-05 18:52:58,252 5244 [INFO ] - VERBOSE: Size: 7158734
|
|
2024-07-05 18:52:58,252 5244 [INFO ] - VERBOSE:
|
|
2024-07-05 18:52:58,252 5244 [INFO ] - VERBOSE: Files: 19
|
|
2024-07-05 18:52:58,272 5244 [INFO ] - VERBOSE: Everything is Ok
|
|
2024-07-05 18:52:58,392 5244 [DEBUG] - $exitCode was passed null
|
|
2024-07-05 18:52:58,413 5244 [DEBUG] - Command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\Users\vagrant\AppData\Local\Temp\chocolatey\OpenSSHTemp" -y "C:\ProgramData\chocolatey\lib\openssh\tools\OpenSSH-Win64.zip"] exited with '0'.
|
|
2024-07-05 18:52:58,413 5244 [DEBUG] - 7z exit code: 0
|
|
2024-07-05 18:52:58,425 5244 [INFO ] - C:\Users\vagrant\AppData\Local\Temp\chocolatey\OpenSSHTemp
|
|
2024-07-05 18:53:01,110 5244 [INFO ] - Hashes for internal source match
|
|
2024-07-05 18:53:01,110 5244 [INFO ] - C:\Program Files\OpenSSH-Win64
|
|
2024-07-05 18:53:01,132 5244 [INFO ] - C:\Program Files\OpenSSH-Win64\FixHostFilePermissions.ps1
|
|
2024-07-05 18:53:01,143 5244 [INFO ] - C:\Program Files\OpenSSH-Win64\FixUserFilePermissions.ps1
|
|
2024-07-05 18:53:01,143 5244 [INFO ] - C:\Program Files\OpenSSH-Win64\install-sshd.ps1
|
|
2024-07-05 18:53:01,143 5244 [INFO ] - C:\Program Files\OpenSSH-Win64\libcrypto.dll
|
|
2024-07-05 18:53:01,165 5244 [INFO ] - C:\Program Files\OpenSSH-Win64\openssh-events.man
|
|
2024-07-05 18:53:01,173 5244 [INFO ] - C:\Program Files\OpenSSH-Win64\OpenSSHUtils.psd1
|
|
2024-07-05 18:53:01,173 5244 [INFO ] - C:\Program Files\OpenSSH-Win64\OpenSSHUtils.psm1
|
|
2024-07-05 18:53:01,173 5244 [INFO ] - C:\Program Files\OpenSSH-Win64\scp.exe
|
|
2024-07-05 18:53:01,195 5244 [INFO ] - C:\Program Files\OpenSSH-Win64\sftp-server.exe
|
|
2024-07-05 18:53:01,195 5244 [INFO ] - C:\Program Files\OpenSSH-Win64\sftp.exe
|
|
2024-07-05 18:53:01,205 5244 [INFO ] - C:\Program Files\OpenSSH-Win64\ssh-add.exe
|
|
2024-07-05 18:53:01,205 5244 [INFO ] - C:\Program Files\OpenSSH-Win64\ssh-agent.exe
|
|
2024-07-05 18:53:01,205 5244 [INFO ] - C:\Program Files\OpenSSH-Win64\ssh-keygen.exe
|
|
2024-07-05 18:53:01,227 5244 [INFO ] - C:\Program Files\OpenSSH-Win64\ssh-keyscan.exe
|
|
2024-07-05 18:53:01,235 5244 [INFO ] - C:\Program Files\OpenSSH-Win64\ssh-shellhost.exe
|
|
2024-07-05 18:53:01,235 5244 [INFO ] - C:\Program Files\OpenSSH-Win64\ssh.exe
|
|
2024-07-05 18:53:01,259 5244 [INFO ] - C:\Program Files\OpenSSH-Win64\sshd.exe
|
|
2024-07-05 18:53:01,330 5244 [INFO ] - C:\Program Files\OpenSSH-Win64\sshd_config_default
|
|
2024-07-05 18:53:01,330 5244 [INFO ] - C:\Program Files\OpenSSH-Win64\uninstall-sshd.ps1
|
|
2024-07-05 18:53:01,330 5244 [INFO ] - C:\Program Files\OpenSSH-Win64\Set-SSHDefaultShell.ps1
|
|
2024-07-05 18:53:01,380 5244 [DEBUG] - Running Install-ChocolateyPath -Path 'C:\Program Files\OpenSSH-Win64' -PathType 'Machine'
|
|
2024-07-05 18:53:01,396 5244 [INFO ] - PATH environment variable does not have C:\Program Files\OpenSSH-Win64 in it. Adding...
|
|
2024-07-05 18:53:01,410 5244 [DEBUG] - Registry type for PATH is/will be ExpandString
|
|
2024-07-05 18:53:01,487 5244 [DEBUG] - Finishing 'Install-ChocolateyPath'
|
|
2024-07-05 18:53:01,533 5244 [INFO ] - Updating machine environment variable TERM from "" to ""
|
|
2024-07-05 18:53:02,483 5244 [INFO ] -
|
|
NEW VERSIONS OF SSH EXES:
|
|
2024-07-05 18:53:02,704 5244 [INFO ] -
|
|
2024-07-05 18:53:02,704 5244 [INFO ] -
|
|
2024-07-05 18:53:02,704 5244 [WARN ] - WARNING: You must start a new prompt, or use the command 'refreshenv' (provided by your chocolatey install) to re-read the environment for the tools to be available in this shell session.
|
|
2024-07-05 18:53:02,734 5244 [DEBUG] - ----------------------------------------------------------------------
|
|
2024-07-05 18:53:02,734 5244 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\openssh\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
|
|
2024-07-05 18:53:02,759 5244 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2024-07-05 18:53:02,910 5244 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2024-07-05 18:53:02,922 5244 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
|
|
see the changes (or in powershell/cmd.exe just type `refreshenv`).
|
|
2024-07-05 18:53:02,945 5244 [DEBUG] - The following values have been added/changed (may contain sensitive data):
|
|
2024-07-05 18:53:02,945 5244 [DEBUG] - * ChocolateyLastPathUpdate='133646791814264247' (User)
|
|
2024-07-05 18:53:02,955 5244 [DEBUG] - * Path='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files\OpenSSH-Win64' (Machine)
|
|
2024-07-05 18:53:02,955 5244 [DEBUG] - * TERM='' (Machine)
|
|
2024-07-05 18:53:03,100 5244 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\openssh'
|
|
2024-07-05 18:53:03,134 5244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\openssh\openssh.nupkg'
|
|
with checksum '9136665A6AD8B3B62A3A1FFBED8A7FEA'
|
|
2024-07-05 18:53:03,141 5244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\openssh\openssh.nuspec'
|
|
with checksum '9D949B36AD39A494935CEDF6F51DAC23'
|
|
2024-07-05 18:53:03,141 5244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\openssh\tools\7z.dll'
|
|
with checksum '9943B3BCB2CA91CCBEF2D96682CECB79'
|
|
2024-07-05 18:53:03,164 5244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\openssh\tools\7z.exe'
|
|
with checksum '506E5B371882A5A62B669F04CE04DBA8'
|
|
2024-07-05 18:53:03,174 5244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\openssh\tools\7z.exe.ignore'
|
|
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
|
|
2024-07-05 18:53:03,174 5244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\openssh\tools\barebonesinstaller.ps1'
|
|
with checksum '4EF4A2A2F7DF1E58FEFC7B2796C3D30B'
|
|
2024-07-05 18:53:03,174 5244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\openssh\tools\chocolateyinstall.ps1'
|
|
with checksum 'D5C312730F2371D6B54370DEFA69B586'
|
|
2024-07-05 18:53:03,196 5244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\openssh\tools\chocolateyuninstall.ps1'
|
|
with checksum '52ED6CE8FD63609AF9144F51A2B4841B'
|
|
2024-07-05 18:53:03,203 5244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\openssh\tools\Get-NetStat.ps1'
|
|
with checksum '5639E1A979924BAB1F81DEDC52C89003'
|
|
2024-07-05 18:53:03,203 5244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\openssh\tools\LICENSE.txt'
|
|
with checksum '1FA7983BE13136F10B6E346AC0F8ACE3'
|
|
2024-07-05 18:53:03,203 5244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\openssh\tools\OpenSSH-Win32.zip'
|
|
with checksum '236A84900601B75E3986ED28C1FBBAFA'
|
|
2024-07-05 18:53:03,235 5244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\openssh\tools\OpenSSH-Win64.zip'
|
|
with checksum '8012EF304C0C0CF93AAFD0A6E7A7E14C'
|
|
2024-07-05 18:53:03,235 5244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\openssh\tools\Set-SSHDefaultShell.ps1'
|
|
with checksum '1A26224C48488038D136D9F06A7B9E73'
|
|
2024-07-05 18:53:03,235 5244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\openssh\tools\SetSpecialPrivileges.ps1'
|
|
with checksum '543B78A2B38141A98F2AF8BD3F10893B'
|
|
2024-07-05 18:53:03,259 5244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\openssh\tools\VERIFICATION.txt'
|
|
with checksum 'A3C11FB5F52B25E893CFB4FA8539F2E4'
|
|
2024-07-05 18:53:03,320 5244 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\openssh.8.0.0.1".
|
|
2024-07-05 18:53:03,358 5244 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\openssh.8.0.0.1\.files'
|
|
2024-07-05 18:53:03,358 5244 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\openssh.8.0.0.1\.extra".
|
|
2024-07-05 18:53:03,358 5244 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\openssh.8.0.0.1\.version".
|
|
2024-07-05 18:53:03,384 5244 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\openssh.8.0.0.1\.sxs".
|
|
2024-07-05 18:53:03,391 5244 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\openssh.8.0.0.1\.pin".
|
|
2024-07-05 18:53:03,391 5244 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2024-07-05 18:53:03,413 5244 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\openssh\.chocolateyPending".
|
|
2024-07-05 18:53:03,413 5244 [INFO ] - The install of openssh was successful.
|
|
2024-07-05 18:53:03,425 5244 [INFO ] - Deployed to 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\OpenSSHTemp'
|
|
2024-07-05 18:53:03,425 5244 [DEBUG] - Attempting to delete file "".
|
|
2024-07-05 18:53:03,425 5244 [INFO ] - Downloading package from source 'https://community.chocolatey.org/api/v2/'
|
|
2024-07-05 18:53:03,425 5244 [DEBUG] - Package download location 'https://community.chocolatey.org/api/v2/package/win32-openssh/2016.05.30.20160922'
|
|
2024-07-05 18:53:03,447 5244 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/win32-openssh/2016.05.30.20160922
|
|
2024-07-05 18:53:03,598 5244 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/win32-openssh/2016.05.30.20160922 161ms
|
|
2024-07-05 18:53:03,615 5244 [INFO ] - [NuGet] Acquiring lock for the installation of win32-openssh 2016.05.30.20160922
|
|
2024-07-05 18:53:03,624 5244 [INFO ] - [NuGet] Acquired lock for the installation of win32-openssh 2016.05.30.20160922
|
|
2024-07-05 18:53:03,624 5244 [INFO ] - [NuGet] Installed win32-openssh 2016.05.30.20160922 from https://community.chocolatey.org/api/v2/ with content hash N/H85FcNNigBl4QCN/ItjHBphFFhKc8+2zTSprYKFYROgTwRofDxDzA2W9adfyXXoPgrMLsJhq2Q7fwq0aJySA==.
|
|
2024-07-05 18:53:03,648 5244 [DEBUG] - Skipping package hash validation as feature 'usePackageHashValidation' is not enabled.
|
|
2024-07-05 18:53:03,659 5244 [INFO ] - [NuGet] Adding package 'win32-openssh.2016.5.30.20160922 : openssh (, )' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-07-05 18:53:03,677 5244 [INFO ] - [NuGet] Added package 'win32-openssh.2016.5.30.20160922 : openssh (, )' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-07-05 18:53:03,705 5244 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\ChocolateyScratch\win32-openssh/2016.5.30.20160922\win32-openssh.2016.5.30.20160922.nupkg".
|
|
2024-07-05 18:53:03,705 5244 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\ChocolateyScratch\win32-openssh/2016.5.30.20160922\.nupkg.metadata".
|
|
2024-07-05 18:53:03,705 5244 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\ChocolateyScratch\win32-openssh/2016.5.30.20160922\win32-openssh.2016.5.30.20160922.nupkg.sha512".
|
|
2024-07-05 18:53:03,705 5244 [INFO ] -
|
|
win32-openssh v2016.5.30.20160922 (forced) [Approved]
|
|
2024-07-05 18:53:03,727 5244 [INFO ] - win32-openssh package files install completed. Performing other installation steps.
|
|
2024-07-05 18:53:03,736 5244 [DEBUG] - Setting installer args for win32-openssh
|
|
2024-07-05 18:53:03,736 5244 [DEBUG] - Setting package parameters for win32-openssh
|
|
2024-07-05 18:53:03,736 5244 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\win32-openssh\tools\chocolateyinstall.ps1':
|
|
2024-07-05 18:53:03,736 5244 [DEBUG] -
|
|
Write-Warning ""
|
|
Write-Warning "*******************************************************************"
|
|
Write-Warning "*******************************************************************"
|
|
Write-Warning "** This Chocolatey Packge ID `"win32-openssh`" is Depreciated. **"
|
|
Write-Warning "** Please use `"openssh`" instead. **"
|
|
Write-Warning "** Installing the latest `"openssh`" package for you now.... **"
|
|
Write-Warning "*******************************************************************"
|
|
Write-Warning "*******************************************************************"
|
|
Write-Warning ""
|
|
|
|
2024-07-05 18:53:03,758 5244 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\win32-openssh\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
|
|
2024-07-05 18:53:03,766 5244 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2024-07-05 18:53:03,828 5244 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.5830' and CLR Version is '4.0.30319.42000'.
|
|
2024-07-05 18:53:03,974 5244 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\helpers\Chocolatey.PowerShell.dll'.
|
|
2024-07-05 18:53:03,974 5244 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
|
|
2024-07-05 18:53:03,988 5244 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-07-05 18:53:03,988 5244 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
|
|
2024-07-05 18:53:04,008 5244 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
|
|
2024-07-05 18:53:04,008 5244 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
|
|
2024-07-05 18:53:04,017 5244 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-07-05 18:53:04,017 5244 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
|
|
2024-07-05 18:53:04,017 5244 [DEBUG] - Cmdlets exported from Chocolatey.PowerShell.dll
|
|
2024-07-05 18:53:04,017 5244 [DEBUG] - Get-EnvironmentVariable
|
|
2024-07-05 18:53:04,017 5244 [DEBUG] - Get-EnvironmentVariableNames
|
|
2024-07-05 18:53:04,040 5244 [DEBUG] - Install-ChocolateyPath
|
|
2024-07-05 18:53:04,040 5244 [DEBUG] - Set-EnvironmentVariable
|
|
2024-07-05 18:53:04,048 5244 [DEBUG] - Test-ProcessAdminRights
|
|
2024-07-05 18:53:04,048 5244 [DEBUG] - Uninstall-ChocolateyPath
|
|
2024-07-05 18:53:04,048 5244 [DEBUG] - Update-SessionEnvironment
|
|
2024-07-05 18:53:04,048 5244 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-07-05 18:53:04,048 5244 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-07-05 18:53:04,079 5244 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-07-05 18:53:04,079 5244 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-07-05 18:53:04,079 5244 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-07-05 18:53:04,079 5244 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-07-05 18:53:04,079 5244 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-07-05 18:53:04,103 5244 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-07-05 18:53:04,108 5244 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-07-05 18:53:04,108 5244 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-07-05 18:53:04,108 5244 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-07-05 18:53:04,108 5244 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-07-05 18:53:04,108 5244 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-07-05 18:53:04,108 5244 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-07-05 18:53:04,108 5244 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-07-05 18:53:04,138 5244 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-07-05 18:53:04,197 5244 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-07-05 18:53:04,204 5244 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-07-05 18:53:04,204 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-07-05 18:53:04,204 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-07-05 18:53:04,204 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-07-05 18:53:04,204 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-07-05 18:53:04,228 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-07-05 18:53:04,235 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-07-05 18:53:04,235 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-07-05 18:53:04,235 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-07-05 18:53:04,235 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-07-05 18:53:04,235 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-07-05 18:53:04,258 5244 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-07-05 18:53:04,268 5244 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-07-05 18:53:04,268 5244 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-07-05 18:53:04,268 5244 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-07-05 18:53:04,268 5244 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-07-05 18:53:04,289 5244 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-07-05 18:53:04,297 5244 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-07-05 18:53:04,297 5244 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-07-05 18:53:04,311 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
|
|
2024-07-05 18:53:04,326 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-07-05 18:53:04,326 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
|
|
2024-07-05 18:53:04,344 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
|
|
2024-07-05 18:53:04,344 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
|
|
2024-07-05 18:53:04,359 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-07-05 18:53:04,359 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
|
|
2024-07-05 18:53:04,359 5244 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-07-05 18:53:04,379 5244 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-07-05 18:53:04,379 5244 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-07-05 18:53:04,395 5244 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-07-05 18:53:04,395 5244 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-07-05 18:53:04,411 5244 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-07-05 18:53:04,411 5244 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-07-05 18:53:04,411 5244 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-07-05 18:53:04,411 5244 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-07-05 18:53:04,425 5244 [DEBUG] - Loading community extensions
|
|
2024-07-05 18:53:04,425 5244 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2024-07-05 18:53:04,445 5244 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2024-07-05 18:53:04,476 5244 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-07-05 18:53:04,476 5244 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-07-05 18:53:04,486 5244 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-07-05 18:53:04,486 5244 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-07-05 18:53:04,486 5244 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-07-05 18:53:04,486 5244 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-07-05 18:53:04,508 5244 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-07-05 18:53:04,508 5244 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-07-05 18:53:04,517 5244 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-07-05 18:53:04,517 5244 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-07-05 18:53:04,517 5244 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-07-05 18:53:04,517 5244 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-07-05 18:53:04,539 5244 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-07-05 18:53:04,539 5244 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-07-05 18:53:04,548 5244 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-07-05 18:53:04,548 5244 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-07-05 18:53:04,548 5244 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-07-05 18:53:04,548 5244 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-07-05 18:53:04,548 5244 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-07-05 18:53:04,571 5244 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-07-05 18:53:04,579 5244 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-07-05 18:53:04,579 5244 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-07-05 18:53:04,579 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-07-05 18:53:04,579 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-07-05 18:53:04,579 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-07-05 18:53:04,579 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-07-05 18:53:04,603 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-07-05 18:53:04,610 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-07-05 18:53:04,610 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-07-05 18:53:04,610 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-07-05 18:53:04,610 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-07-05 18:53:04,610 5244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-07-05 18:53:04,637 5244 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-07-05 18:53:04,640 5244 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-07-05 18:53:04,640 5244 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-07-05 18:53:04,640 5244 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-07-05 18:53:04,640 5244 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-07-05 18:53:04,640 5244 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-07-05 18:53:04,667 5244 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-07-05 18:53:04,671 5244 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-07-05 18:53:04,671 5244 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-07-05 18:53:04,671 5244 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-07-05 18:53:04,671 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
|
|
2024-07-05 18:53:04,671 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-07-05 18:53:04,671 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
|
|
2024-07-05 18:53:04,703 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
|
|
2024-07-05 18:53:04,703 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
|
|
2024-07-05 18:53:04,703 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-07-05 18:53:04,703 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
|
|
2024-07-05 18:53:04,703 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
|
|
2024-07-05 18:53:04,703 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-07-05 18:53:04,728 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
|
|
2024-07-05 18:53:04,735 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
|
|
2024-07-05 18:53:04,735 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
|
|
2024-07-05 18:53:04,735 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-07-05 18:53:04,735 5244 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
|
|
2024-07-05 18:53:04,735 5244 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-07-05 18:53:04,760 5244 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-07-05 18:53:04,765 5244 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-07-05 18:53:04,765 5244 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-07-05 18:53:04,765 5244 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-07-05 18:53:04,765 5244 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-07-05 18:53:04,765 5244 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-07-05 18:53:04,791 5244 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-07-05 18:53:04,798 5244 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-07-05 18:53:04,798 5244 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
|
|
2024-07-05 18:53:04,798 5244 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-07-05 18:53:04,798 5244 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
|
|
2024-07-05 18:53:04,821 5244 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
|
|
2024-07-05 18:53:04,830 5244 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
|
|
2024-07-05 18:53:04,830 5244 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-07-05 18:53:04,830 5244 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
|
|
2024-07-05 18:53:04,830 5244 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2024-07-05 18:53:04,830 5244 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2024-07-05 18:53:04,858 5244 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2024-07-05 18:53:04,858 5244 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2024-07-05 18:53:04,858 5244 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2024-07-05 18:53:04,858 5244 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2024-07-05 18:53:04,858 5244 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2024-07-05 18:53:04,858 5244 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2024-07-05 18:53:04,889 5244 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2024-07-05 18:53:04,889 5244 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2024-07-05 18:53:04,889 5244 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2024-07-05 18:53:04,889 5244 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2024-07-05 18:53:04,889 5244 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2024-07-05 18:53:04,919 5244 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2024-07-05 18:53:04,919 5244 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2024-07-05 18:53:04,919 5244 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2024-07-05 18:53:04,919 5244 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2024-07-05 18:53:04,919 5244 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2024-07-05 18:53:04,919 5244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-07-05 18:53:04,919 5244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-07-05 18:53:04,952 5244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2024-07-05 18:53:04,952 5244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2024-07-05 18:53:04,952 5244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2024-07-05 18:53:04,952 5244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-07-05 18:53:04,952 5244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2024-07-05 18:53:04,952 5244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2024-07-05 18:53:04,980 5244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2024-07-05 18:53:04,983 5244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2024-07-05 18:53:04,983 5244 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2024-07-05 18:53:04,983 5244 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-07-05 18:53:04,983 5244 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2024-07-05 18:53:04,983 5244 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-07-05 18:53:04,983 5244 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-07-05 18:53:05,014 5244 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2024-07-05 18:53:05,014 5244 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-07-05 18:53:05,014 5244 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2024-07-05 18:53:05,014 5244 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-07-05 18:53:05,014 5244 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2024-07-05 18:53:05,014 5244 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2024-07-05 18:53:05,044 5244 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2024-07-05 18:53:05,044 5244 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2024-07-05 18:53:05,044 5244 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2024-07-05 18:53:05,044 5244 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2024-07-05 18:53:05,044 5244 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2024-07-05 18:53:05,044 5244 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2024-07-05 18:53:05,044 5244 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2024-07-05 18:53:05,076 5244 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2024-07-05 18:53:05,076 5244 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2024-07-05 18:53:05,076 5244 [DEBUG] - Running 'ChocolateyScriptRunner' for win32-openssh v2016.5.30.20160922 with packageScript 'C:\ProgramData\chocolatey\lib\win32-openssh\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\win32-openssh', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2024-07-05 18:53:05,108 5244 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\win32-openssh\tools\chocolateyinstall.ps1'
|
|
2024-07-05 18:53:05,132 5244 [WARN ] - WARNING:
|
|
2024-07-05 18:53:05,132 5244 [WARN ] - WARNING: *******************************************************************
|
|
2024-07-05 18:53:05,143 5244 [WARN ] - WARNING: *******************************************************************
|
|
2024-07-05 18:53:05,143 5244 [WARN ] - WARNING: ** This Chocolatey Packge ID "win32-openssh" is Depreciated. **
|
|
2024-07-05 18:53:05,143 5244 [WARN ] - WARNING: ** Please use "openssh" instead. **
|
|
2024-07-05 18:53:05,164 5244 [WARN ] - WARNING: ** Installing the latest "openssh" package for you now.... **
|
|
2024-07-05 18:53:05,164 5244 [WARN ] - WARNING: *******************************************************************
|
|
2024-07-05 18:53:05,175 5244 [WARN ] - WARNING: *******************************************************************
|
|
2024-07-05 18:53:05,175 5244 [WARN ] - WARNING:
|
|
2024-07-05 18:53:05,175 5244 [DEBUG] - ----------------------------------------------------------------------
|
|
2024-07-05 18:53:05,195 5244 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\win32-openssh\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
|
|
2024-07-05 18:53:05,205 5244 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2024-07-05 18:53:05,317 5244 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2024-07-05 18:53:05,327 5244 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\win32-openssh'
|
|
2024-07-05 18:53:05,327 5244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\win32-openssh\win32-openssh.nupkg'
|
|
with checksum '44525FCD96C7863E3B92F594EDE704FD'
|
|
2024-07-05 18:53:05,327 5244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\win32-openssh\win32-openssh.nuspec'
|
|
with checksum '86858DEFABD23B7AF26EEF93F1FBFA5E'
|
|
2024-07-05 18:53:05,327 5244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\win32-openssh\tools\chocolateyinstall.ps1'
|
|
with checksum '1AC600A28D49B69E3388CE423344592A'
|
|
2024-07-05 18:53:05,359 5244 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\win32-openssh.2016.5.30.20160922".
|
|
2024-07-05 18:53:05,359 5244 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\win32-openssh.2016.5.30.20160922\.files'
|
|
2024-07-05 18:53:05,359 5244 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\win32-openssh.2016.5.30.20160922\.extra".
|
|
2024-07-05 18:53:05,397 5244 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\win32-openssh.2016.5.30.20160922\.version".
|
|
2024-07-05 18:53:05,397 5244 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\win32-openssh.2016.5.30.20160922\.sxs".
|
|
2024-07-05 18:53:05,412 5244 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\win32-openssh.2016.5.30.20160922\.pin".
|
|
2024-07-05 18:53:05,412 5244 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\win32-openssh.2016.5.30.20160922\.deploymentLocation".
|
|
2024-07-05 18:53:05,412 5244 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2024-07-05 18:53:05,426 5244 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\win32-openssh\.chocolateyPending".
|
|
2024-07-05 18:53:05,426 5244 [INFO ] - The install of win32-openssh was successful.
|
|
2024-07-05 18:53:05,426 5244 [INFO ] - Software install location not explicitly set, it could be in package or
|
|
default install location of installer.
|
|
2024-07-05 18:53:05,475 5244 [WARN ] -
|
|
Chocolatey installed 2/2 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2024-07-05 18:53:05,475 5244 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2024-07-05 18:53:05,489 5244 [DEBUG] - Exiting with 0
|