AzureRM VM에 연결하려고합니다. 나는 WinRM이에 대한 많은 자습서를 통해 읽었습니다하지만, 난 여전히이 작업을 얻을 수 없습니다Azure RM VM의 WinRM
Enter-PSSession -ComputerName "$($HOST).cloudapp.net" -Credential $username
내가 이것을 실행하면, 나는 다음과 같은 오류 얻을 : 나는 -UseSSL를 추가 할 때
The user name or password is incorrect. For more information, see the about_Remote_Troubleshooting Help topic
을 param이 오류가 발생합니다 :
The WinRM client cannot process the request because the server name cannot be resolved. For more information, see the about_Remote_Troubleshooting Help topic.
입력 한 자격증 명이 맞습니다. 그래서 나는 또한 "로컬 호스트 \의 $ 사용자 이름"시도 난 다른 오류가 발생합니다 :
그래서 내가 기본 - 인증을 사용하려고 내가 얻을 :The following error with errorcode 0x80090311 occurred while using Kerberos authentication:
The WinRM client cannot process the request. Unencrypted traffic is currently disabled in the client configuration
그러나 나는 이미 확인 및 암호화되지 않은 한 트래픽이 사용됩니다.
이전에이 문제를 접한 사람이 있습니까? 다음에 무엇을 시도 할 것인가에 대한 제안? 설정이 서버에 지금 무엇을 추가
credentials = Get-Credential -UserName $username -Message "Enter Azure account credentials"
$continue=$false
Do{
$session = New-PSSession -ComputerName "$($VMName).cloudapp.net" -Credential $credentials
if ($session -ne $null)
{
$continue=$true
}
Write-Output "Unable to create a PowerShell session . . . sleeping and trying again in 30 seconds."
Start-Sleep -Seconds 30
}
Until(
$continue=$true)
편집 :
그리고 클라이언트 :
WSManConfig: Microsoft.WSMan.Management\WSMan::localhost\Client
Type Name SourceOfValue Value
---- ---- ------------- -----
System.String NetworkDelayms 5000
System.String URLPrefix wsman
System.String AllowUnencrypted true
Container Auth
Container DefaultPorts
System.String TrustedHosts @{Value = "XX.XX.XX.XX"}
잘 WinRM을 통해 푸른 VM을 연결하는 데 도움이, 사용자 이름 또는 암호가 잘못입니다 ... 당신이 기대하는 것을 ... – 4c74356b41
나는이 약 20 시도했습니다 시간과 나는 당신을 확신합니다 ...내가 입력 한 사용자 이름과 암호는 Azure에서 VM을 설정할 때 사용한 것과 같은 것들입니다. – Jewtus
더 많이 놀았으며 호스트 (예 : 호스트)와 같은 다른 오류 메시지가 있는지 몇 가지 임의의 호스트 이름을 넣었습니다. 첫 번째 명령을 사용하면 사용자 이름과 암호의 오류가 발생합니다. – Jewtus