-
Notifications
You must be signed in to change notification settings - Fork 781
User principal name lookup failed for user #1934
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@ThatWileyGuy - Can you comment on this issue. |
Can you clarify whether the server is domain-joined, AAD-joined, or hybrid? Ideally, the |
Sure I can grab info from the server machine. I setup a test one to debug this issue, a teammate of mine is apart of ntdev and is hitting this. (I am apart of REDMOND in case that changes anything)
|
@ThatWileyGuy ping on this, any more info I can provide? |
I am wrestling with this same issue. If I run sshd from PowerShell as a user with administrator rights, it works perfectly. If I try to run it as a service using the SYSTEM account, I receive the same error @monil-patel has.
|
@jjlay Did you ever figure this out? I'm hitting the exact same problem. Works when running sshd from admin PowerShell, but the service does not work running as local system. I see the same |
Troubleshooting steps
https://github.com/PowerShell/Win32-OpenSSH/wiki/Troubleshooting-Steps
Terminal issue? please go through wiki
https://github.com/PowerShell/Win32-OpenSSH/wiki/TTY-PTY-support-in-Windows-OpenSSH
Please answer the following
"OpenSSH for Windows" version
((Get-Item (Get-Command sshd).Source).VersionInfo.FileVersion)
8.1.0.1 and also tried on 8.9.1.0
Server OperatingSystem
((Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion\" -Name ProductName).ProductName)
Windows 10 Enterprise for Virtual Desktops
(The server run on VMs with are AD joined )
Client OperatingSystem
Windows 10/11
What is failing
SSH is failing to resolve ntdev domain login. The user is an Admin on the VM they are attempting to connect to
If the user connects via RDP to that VM and then connects via SSH it works. Im assuming the cached credentials are helping to resolve the upn in this scenario?
I am not well versed in AAD so any help on knowing if this is on the SSH side of things or AAD side would be appreciated
The text was updated successfully, but these errors were encountered: