mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 00:04:30 +02:00
increase debug of failing pester test
This commit is contained in:
parent
a88ae8d841
commit
bbb76f5c67
@ -70,7 +70,7 @@ Describe "E2E scenarios for certificate authentication" -Tags "CI" {
|
|||||||
$pcOutFile = Join-Path $testDir "$tC.$tI.pcout.txt"
|
$pcOutFile = Join-Path $testDir "$tC.$tI.pcout.txt"
|
||||||
$logFile = Join-Path $testDir "$tC.$tI.log.txt"
|
$logFile = Join-Path $testDir "$tC.$tI.log.txt"
|
||||||
Remove-Item -Force $pcOutFile -ErrorAction SilentlyContinue
|
Remove-Item -Force $pcOutFile -ErrorAction SilentlyContinue
|
||||||
$sshdArgs = "-d -f $sshdconfig -E $logFile -o `"AuthorizedKeysFile .fake/authorized_keys`""
|
$sshdArgs = "-ddd -f $sshdconfig -E $logFile -o `"AuthorizedKeysFile .fake/authorized_keys`""
|
||||||
$sshdArgs += " -o `"AuthorizedPrincipalsCommand=$env:windir\system32\cmd.exe /c echo otheruser& echo $pkuser& whoami > $pcOutFile`""
|
$sshdArgs += " -o `"AuthorizedPrincipalsCommand=$env:windir\system32\cmd.exe /c echo otheruser& echo $pkuser& whoami > $pcOutFile`""
|
||||||
$sshdArgs += " -o `"AuthorizedPrincipalsCommandUser=$ssouser`""
|
$sshdArgs += " -o `"AuthorizedPrincipalsCommandUser=$ssouser`""
|
||||||
$sshdArgs += " -o PasswordAuthentication=no"
|
$sshdArgs += " -o PasswordAuthentication=no"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user