Score:0

What username to use to connect over SSH to a domain joined Windows machine?

cn flag

My Windows 11 Enterprise PC is domain joined and I log in using my work account in the format of europe\[email protected].

I installed the Open SSH server but no matter what I try, I cannot connect from my Mac:

user@MacBookAir Desktop % ssh [email protected]
[email protected]'s password: 
Permission denied, please try again.

What can I do to get this to work?

I'd also be fine using an SSH key, if that's an option. I have already generated key pairs on the Mac but then what?

Maciek Rek avatar
jm flag
I’ve got the same problem. On Windows in the *Event Viewer > Applications... > OpenSSH* I can see that when I try use single back-slash it is omitted and when I use double back-slash (in order to escape it) both back-slashes shows-up in the log -- effectively making it impossible to pass just a single back-slash (as per my username as returned by `whoami` command).
Maciek Rek avatar
jm flag
the workaround was to ssh with the *admin@XX:XX:XX:XX* (fill in your IP, you need to know the password ofc)
Score:0
it flag

Try ssh user@DOMAIN@host, i.e.

ssh [email protected]@192.168.178.30
cn flag
"Permission denied, please try again"
it flag
If password auth allowed on SSH server (may be only certificate auth)? Make sure you use domain alias.
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.