We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 436b754 commit 02550a2Copy full SHA for 02550a2
windows/nanoserver/Dockerfile
@@ -125,7 +125,7 @@ RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tl
125
Add-Content -Path "C:\ProgramData\ssh\sshd_config" -Value (' AuthorizedKeysFile C:/Users/{0}/.ssh/authorized_keys' -f $env:JENKINS_AGENT_USER) ; `
126
New-Item -Path HKLM:\SOFTWARE -Name OpenSSH -Force | Out-Null ; `
127
New-ItemProperty -Path HKLM:\SOFTWARE\OpenSSH -Name DefaultShell -Value 'C:\Program Files\Powershell\pwsh.exe' -PropertyType string -Force | Out-Null ; `
128
- Remove-Item -Path "C:\ProgramData\ssh\ssh_host*_key*
+ Remove-Item -Path "C:\ProgramData\ssh\ssh_host*_key*"
129
130
COPY CreateProfile.psm1 C:/
131
0 commit comments