-
Notifications
You must be signed in to change notification settings - Fork 778
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
windows 10 SSH not accepting password from fedora command line but goes through in pwsh prompt #2333
Comments
This is sorta sounding like some problem with the default terminal in Fedora, @eliassal are you able to connect to a linux via the same fedora prompt? Trying to hone in on if this is an issue with the sshd/termina/client etc. |
Yes of course Steven, I connect to almost 10 other VMs using ssh |
Reading |
If you replace the command |
Correct, I added quotes to the slash and I was able to ssh to the win box as follows
|
Glad to hear your issue is solved.
You can set in the registry which kind of default shell sshd should start for you, as described at https://github.com/PowerShell/Win32-OpenSSH/wiki/DefaultShell Check the current setting:
Switch to Powershell:
Undo the above:
|
Prerequisites
Steps to reproduce
I’ve just starting with win32-openSSH on a win 10 machine,added in sshd_config_default at
C:\Windows\System32\OpenSSH the following
restarted the service.
Trying to connect to my win 10 from a fedora box on command line, I get connected,
I accept then I get prompted to enter password. I do enter my password but it is not recognized as follows:
However, when I try the same from a pwsh prompt it goes through
Expected behavior
Connect through ssh from a linux machine to win 10 machine
Actual behavior
nor recognizing password
Error details
Environment data
Version
latest
Visuals
No response
The text was updated successfully, but these errors were encountered: