2

I want to login to a Windows Machine through ssh. I followed the Microsoft installation guide for the Open Secure Shell H (SSH) Server, but I can't still login. To access the computer I usually use my fingerprint, but I believe I can't use it to login through SSH. I also have a Personal Identifier Number (PIN) set-up, but I can't use it to login. Any ideas? I tried to use a public key to login, but it didn't work.

OS: Windows 10 Pro N Windows Insider Preview

Version: 10.0.18975 build 18975

2 Answers 2

3

Have you linked your user account to your Microsoft Live account? In my case I had also set up a PIN to login to my computer, and needed to use my Microsoft Live password for authenticating an SSH session.

1

Is the computer indeed password-less? Windows 10 usually requires you to first set a password before you can add any other authentication options such as PIN or fingerprint or any other biometrics. PIN is allowed to be used only via local interactive login (or elevated UAC prompt), biometrics should be similar, so a fallback to a password may be necessary not just in case of remote logging in (such as via RDP) but also in case of a significant hardware change (such as replacing a MOBO or moving the entire HDD/SSD to a new computer as-is without reinstall).

Any remote login when a real password-less account is created (such as when installing new Windows and not entering any password during the OOBE) is blocked by Windows, so if it happens that an account without any password exists (although by some means, PIN or biometrics is used), Windows would probably still block any external login. Since SSH server is quite a new feature on Windows, brought from the Unix world, it may not be prepared for the situation of a passwordless account but with a SSH key. The workaround then should be to create a password (even if a 32char random one) thus removing the block for remote login.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.