Skip to content
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

AzureAD only domain sshd: fatal: ga_init, unable to resolve user azuread\\foo #1756

Closed
zippy1981 opened this issue Mar 20, 2021 · 2 comments
Closed

Comments

@zippy1981
Copy link

I'm hoping this is a special case of #1053

Troubleshooting steps

I did a fresh install of windows 10 and joined it to the domain zippysoft.us. This domain only exists as an AzureAD tenant it lacks:

  • domain controllers
  • AD connect
  • Azure Domain Services

I tried ssh localhost and got sshd: fatal: ga_init, unable to resolve user azuread\\justindearing in the opsnssh admin logs.

I tried ssh -l [email protected] localhost and got sshd: Failed password for invalid user [email protected] from ::1 port 50634 ssh2 in the operationj logs

Creating a user with nety user /add allowed me to ssh just fine as a locak user

Please answer the following

"OpenSSH for Windows" version
((Get-Item (Get-Command sshd).Source).VersionInfo.FileVersion)
7.7.2.3

Server OperatingSystem
((Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion\" -Name ProductName).ProductName)
Windows 10 pro

Client OperatingSystem
Windows 10 pro

What is failing
I can't ssh in az an azureAd user

Expected output
A ssh session

Actual output
Not an ssh session

@bagajjal
Copy link
Collaborator

SSH using AzureAD credentials is not supported. This requires changes in the windows OS.

@bagajjal
Copy link
Collaborator

Duplicate of #1543

@bagajjal bagajjal marked this as a duplicate of #1543 Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants