#ssh key pair auth not working

1 messages · Page 1 of 1 (latest)

lyric summit
#

followed this guide https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_keymanagement to setup sshd on win11 host yet everytime i try to ssh to this win11 host it asks me for password which does not exist since my microsoft account uses MS authenticator on phones exclusively to login no more passwords.
I have no idea what is going wrong here plz halp

Edit: I tried creating a local account on win11 host with password, ssh works with password but still not working with key pair auth it just asks for password everytime

marsh voidBOT
#

<@&987246964494204979> please have a look, thanks.

marsh voidBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.

fallen cedar
#

U can have a second factor for authentication but ur password still exists

#

Windows ui allows u to login using the authenticator itself yes but u still gotta have a password

#

And look like u aren't logged in to windows at all, u should probably do that anyway

#

Because it shouldn't ask for the details while generating ssh keys

marsh voidBOT
#

Closed the thread due to inactivity.

If your question was not resolved yet, feel free to just post a message to reopen it, or create a new thread. But try to improve the quality of your question to make it easier to help you 👍

lyric summit
#

there is no password for my microsoft account anymore and i am signed into this account on my windows machine

#

also im just trying to setup public key auth so i dont think passwordless is gon be a problem but idk