Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
Merge pull request #169 from SamKhGit/patch-1
Browse files Browse the repository at this point in the history
Update Proxy settings for installation script
  • Loading branch information
CalebAWS committed Sep 10, 2021
2 parents e5b8a27 + 69f97a3 commit 3627d29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc_source/sysman-install-ssm-proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ As of January 14, 2020, Windows Server 2008 is [no longer supported](https://www
```
$serviceKey = "HKLM:\SYSTEM\CurrentControlSet\Services\AmazonSSMAgent"
$keyInfo = (Get-Item -Path $serviceKey).GetValue("Environment")
$proxyVariables = @("http_proxy=hostname:port", "no_proxy=169.254.169.254")
$proxyVariables = @("http_proxy=hostname:port", "https_proxy=hostname:port", "no_proxy=169.254.169.254")
If($keyInfo -eq $null)
{
Expand All @@ -34,7 +34,7 @@ After running the preceding command, you can review the SSM Agent logs to confir
2020-02-24 15:31:54 INFO Getting WinHTTP proxy default configuration: The operation completed successfully.
2020-02-24 15:31:54 INFO Proxy environment variables:
2020-02-24 15:31:54 INFO http_proxy: hostname:port
2020-02-24 15:31:54 INFO https_proxy:
2020-02-24 15:31:54 INFO https_proxy: hostname:port
2020-02-24 15:31:54 INFO no_proxy: 169.254.169.254
2020-02-24 15:31:54 INFO Starting Agent: amazon-ssm-agent - v2.3.871.0
2020-02-24 15:31:54 INFO OS: windows, Arch: amd64
Expand Down Expand Up @@ -93,4 +93,4 @@ netsh winhttp show proxy
netsh winhttp set proxy proxy-server="hostname:port" bypass-list="169.254.169.254"
```

For more information about using Run Command, see [Running commands using Systems Manager Run Command](run-command.md)\.
For more information about using Run Command, see [Running commands using Systems Manager Run Command](run-command.md)\.

0 comments on commit 3627d29

Please sign in to comment.