Skip to content

User resolution doesn't work if user name is the same as host name #1252

@emmatyping

Description

@emmatyping

"OpenSSH for Windows" version
((Get-Item (Get-Command sshd).Source).VersionInfo.FileVersion)

7.7.2.0

Server OperatingSystem
((Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion\" -Name ProductName).ProductName)

Windows 10 Pro

Client OperatingSystem

Ubuntu 18.04

What is failing
I am getting a broken pipe when trying to authenticate.
Expected output
I should auth correctly.
Actual output

debug1: sshd version OpenSSH_for_Windows_7.7, LibreSSL 2.6.4
debug3: ssh_msg_recv entering
debug3: ssh_msg_recv entering
debug2: fd 4 setting O_NONBLOCK
debug3: ssh_msg_recv entering
debug2: parse_server_config: config reprocess config len 159
debug3: get_passwd: Invalid account type: 3.
Invalid user ethanhs from 10.147.18.212 port 45922
debug3: mm_request_receive entering
debug1: do_cleanup
sshd.exe exited on ETHANHS with error code 255.

Client side:

debug1: Next authentication method: password
ethanhs\ethanhs@10.147.18.113's password: 
debug3: send packet: type 50
debug2: we sent a password packet, wait for reply
debug3: receive packet: type 52
debug1: Authentication succeeded (password).
Authenticated to 10.147.18.113 ([10.147.18.113]:22).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug3: send packet: type 90
debug1: Requesting no-more-sessions@openssh.com
debug3: send packet: type 80
debug1: Entering interactive session.
debug1: pledge: network
debug3: send packet: type 1
packet_write_wait: Connection to 10.147.18.113 port 22: Broken pipe

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions