In my case, co-data-repo3 is a Windows 10 vmware VM running the openSSH service. It is part of the INS\ domain. I can confirm that I can RDP connect to the VM's desktop using my domain user and password. But if I try SSH client, it hung immediately without any prompt for the password. The client side transcript is below:
Microsoft Windows [Version 10.0.19044.1889] (c) Microsoft Corporation. All rights reserved.
C:\windows\system32>ssh INS\gardner.hui@co-data-repo3
C:\windows\system32>ssh INS\gardner.hui@co-data-repo3
C:\windows\system32>ssh -l gardner.hui@INS co-data-repo3
C:\windows\system32>powershell Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\windows\system32> ssh INS\hardner.hui@co-data-repo3 PS C:\windows\system32>
As you can see, I tried double backslash to escape the domain\user, I tried -l option. And I tried CMD vs. Power Shell. The SSH server (co-data-repo3) does not return any prompt. I hard to Ctrl-C interrupt the client-side CLI.
After some research, I realized that the SSH CLI is not hung, it just does not display anything on the command prompt. Only after I "blindly" type the ECHO command, hit ENTER, and then interrupt with Ctrl-C, the command prompt displays the transcript:
C:\windows\system32>ssh ins\gardner.hui@co-data-repo3 "note: this is where I blindly enter the ECHO command" C:\windows\system32>ECHO %ERRORLEVEL% 0
C:\windows\system32>
How do I turn on the SSH display?