Skip to content

Domain user authentication fails with Connection Reset by Peer #1363

Closed
@oulman

Description

@oulman

Please answer the following

"OpenSSH for Windows" version
7.7.2.1

Server OperatingSystem
Windows Server 2019 Datacenter

Client OperatingSystem
Windows Server 2019 Datacenter, Ubuntu 18.04

What is failing

When trying to authenticate using a domain account the remote server drops the connection with a 'Connection reset by peer' error.

When using a local account I am able to login successfully.

I've changed the user and hostnames in the log but have other details attached to a Premier support case: 119030426002038​.

Expected output

Successful authentication for domain accounts.

Actual output

The server returns a 'Connection reset by peer' error.

When I look in Event Viewer > Applications and Services logs > OpenSSH > Admin I see two events.

  1. Level = Critical, Source = OpenSSH, EventId = 1, Text = "sshd: fatal: ga_init, unable to resolve user contoso\domainuser"
  2. Level = Error, Source = OpenSSH, EventId = 2, Text = "sshd: error: get_user_token - unable to generate token on 2nd attempt for user contoso\domainuser"

I'm attaching the output of ssh -v from a client.
ssh-dash-v.txt

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions