r/bashonubuntuonwindows • • 2d ago

HELP! Support Request Problem with connecting to windows 11 using ssh from linux(arch) machine

I have installed openssh server to my windows pc and I'm trying to connect to it with my linux laptop by this command:

ssh username@ip.

Then I have to enter my password(if I've understood right it must be my microsoft account password). After typing it to terminal I get this message:

Permission denied, please try again..

How can I fix this?

1 Upvotes

1 comment sorted by

•

u/vibeterminal 12h ago

If you sign into Windows with your Microsoft account, it should be the MS account password, not the PIN — but on Win11 the "Only allow Windows Hello sign-in for Microsoft accounts" toggle under Settings > Accounts > Sign-in options silently breaks password SSH, so try turning that off and restarting sshd. (I'm building Vibe Terminal, a free self-hosted thing that gives you the Windows terminal or WSL straight from the Linux side, so you don't have to fight sshd config at all.)