PowerShell / PowerShell/Win32-OpenSSH

Local Windows accounts fail with known good password

Open
#2,153 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Investigate Waiting on Author
Dominant language
No language data
Stars
8.3k
Forks
819
PR merge metrics
No merged PRs in 30d

Description

Prerequisites
  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.
Steps to reproduce

Hi i have setup openssh to work with AD accounts. However now i am trying to make this work with a local account, to take AD troubleshooting out of it.

i have created a local windows user, set the password, tested the password by logging into windows as the account.

however when i try to connect via SSH client, on my laptop logged in as my AD account, it fails to login saying "Permission denied (publickey,password,keyboard-interactive)." I KNOW this password is correct.

Below is my config and ssh
sshd.log
sshd_config.txt

Expected behavior
Should allow the local account to connect
Actual behavior
Permission denied (publickey,password,keyboard-interactive).
Error details

No response

Environment data
nothing
Version

OpenSSH.Server~~~~0.0.1.0

Visuals

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the attached sshd.log and sshd_config.txt, then reproduce the failed SSH login with the local Windows account described in the issue. Compare the server configuration and logged authentication failure with the expected successful local-account connection; done means the account authenticates without the permission-denied error.

Written by the indexing model from the issue text.

Assessment

Domain
authentication, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.