PowerShell / PowerShell/Win32-OpenSSH
sftp prompts suddenly password after setting authorized_keys from linux to windows which was working for long time
Open
Nobody has claimed this yet.
Area-Authentication
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
sftp prompts suddenly password after setting authorized_keys from linux to windows which was working for long time
Expected behavior
It should connect without password
Actual behavior
But keep on asking password after setting up the authorized_keys in the remote server which is windows.
Error details
No response
Environment data
PS C:\Users\prv_nazeer> $PSVersionTable
Name Value
---- -----
PSVersion 5.1.17763.4644
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17763.4644
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Version
OpenSSH_8.0p1
Visuals
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the password prompt with OpenSSH_8.0p1 from the reported PowerShell 5.1 environment, then inspect authentication diagnostics for the Windows remote server and its authorized_keys configuration. Done means the configured key is accepted and the SFTP connection completes without prompting for a password.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- authentication, networking, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100