Unsolved
1 Rookie
•
88 Posts
0
367
ssh connection to Windows failes because of wrong user name path
Since a few weeks (I saw August 23 on some servers) the ssh connection for OME on Windows Servers fails. I found this in the eventlog:
sshd: fatal: ga_init, unable to resolve user win\\username
See the double back slash. It's clear to see that Windows can't resolve this.
I don't know exactly when this happened the first time, maybe since the update to Version 3.10.2 (Build 13).
Greetings Barbara
MdmBarbarella
1 Rookie
1 Rookie
•
88 Posts
0
August 30th, 2023 09:37
More information: This error appeared after the update to Version 3.10.1 (Build 51). Unfortunately, I have no older snapshot from the VM. Because it seemed to me that the update worked fine, I deleted the snapshot I took before.
MdmBarbarella
1 Rookie
1 Rookie
•
88 Posts
0
October 18th, 2023 15:03
Sorry that I lost this thread.
The problem persists.
- Re-discover doesn't help
- no, we use the standard port 22
- on Server 2019 and higher we use the OpenSSH-version integrated in the OS. On older servers or servers without internet connection wie use the known package from github (version 8.x)
Greetings Barbara
MdmBarbarella
1 Rookie
1 Rookie
•
88 Posts
0
October 19th, 2023 08:15
Our domain refuses all LM- and NTLM-traffic but NTLMv2. Maybe that's the problem. The OME appliance is a Linux machine outside the domain, so, the authentication against the domain runs with NTLM per design. OME must use NTLMv2, otherwise the authentication will fail.
A manual login from an Ubuntu 2204 LTS via ssh outside the domain in our environment runs without problems.
On a windows server I see still this error:
sshd: fatal: ga_init, unable to resolve user win\\username
where username ist the name of the service account used by OME. The double backslash is strange. I think, this causes the problem.
Greetings Barbara
Khatib19
1 Rookie
1 Rookie
•
5 Posts
0
May 26th, 2024 12:53
Solution found in
https://serverfault.com/questions/1067665/unable-to-ssh-into-windows-domain-server-using-domain-user
https://github.com/PowerShell/Win32-OpenSSH/issues/1363