diff --git a/regress/pesterTests/SSH.Tests.ps1 b/regress/pesterTests/SSH.Tests.ps1 index 4192222f3ea8..5a8b2d7a82ec 100644 --- a/regress/pesterTests/SSH.Tests.ps1 +++ b/regress/pesterTests/SSH.Tests.ps1 @@ -359,16 +359,16 @@ Describe "E2E scenarios for ssh client" -Tags "CI" { @(Get-Content $kh).Count | Should Be 1 } - It "$tC.$tI - ProxyCommand with file name only" { - & cmd /c "ssh -v -o ProxyCommand=`"cmd.exe /c echo test string for invalid proxy 1>&2`" abc 2>$stderrFile" - $stderrFile | Should Contain "test string for invalid proxy" - $stderrFile | Should Contain "Connection closed by remote host" - } + #It "$tC.$tI - ProxyCommand with file name only" { + # & cmd /c "ssh -v -o ProxyCommand=`"cmd.exe /c echo test string for invalid proxy 1>&2`" abc 2>$stderrFile" + # $stderrFile | Should Contain "test string for invalid proxy" + # $stderrFile | Should Contain "Connection closed by remote host" + #} - It "$tC.$tI - ProxyCommand with absolute path to the file" { - & cmd /c "ssh -v -o ProxyCommand=`"$($env:ComSpec) /c echo test string for invalid proxy 1>&2`" abc 2>$stderrFile" - $stderrFile | Should Contain "test string for invalid proxy" - $stderrFile | Should Contain "Connection closed by remote host" - } + #It "$tC.$tI - ProxyCommand with absolute path to the file" { + # & cmd /c "ssh -v -o ProxyCommand=`"$($env:ComSpec) /c echo test string for invalid proxy 1>&2`" abc 2>$stderrFile" + # $stderrFile | Should Contain "test string for invalid proxy" + # $stderrFile | Should Contain "Connection closed by remote host" + #} } }