Score:0

Can't ssh to AAD joined Windows 11

vg flag
qxg

Optional feature -> OpenSSH server was installed. Service OpenSSH SSH Server is in 'Running' status.

In the same machine, I tried ssh localhost, it gives me

Connection reset by ::1 port 22

Event viewer -> OpenSSH -> Admin:

sshd: error: lookup_principal_name: User principal name lookup failed for user 'domain\username' (explicit: 1355, implicit: 1355)
sshd: error: lookup_principal_name: User principal name lookup failed for user 'domain\username' (explicit: 1355, implicit: 1355)
sshd: error: get_user_token - unable to generate token on 2nd attempt for user domain\username
sshd: fatal: ga_init, unable to resolve user domain\username

If I try to connect via email ssh -l [email protected] localhost, it does prompt for password, but my current password doesn't work. Event viewer -> OpenSSH -> Operational shows:

sshd: Failed password for invalid user [email protected] from ::1 port 53821 ssh2
sshd: Invalid user [email protected] from ::1 port 53821
sshd: Connection reset by invalid user [email protected] ::1 port 53787 [preauth]

This AAD account is the only account in that machine.

sshd debug
enter image description here
Not sure if I should take care of get_passwd failure.

djdomi avatar
za flag
some days ago someone suggested user@[email protected]
qxg avatar
vg flag
qxg
@djdomi user@[email protected] prompts me password but my current password doesn't work. My company force 2FA enabled. Does it matter?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.