PowerShell / PowerShell/Win32-OpenSSH
Support expired password change over ssh
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 8.3k
- Forks
- 819
- PR merge metrics
- No merged PRs in 30d
Description
Please answer the following
If it is a terminal issue then please go through wiki
https://github.com/PowerShell/Win32-OpenSSH/wiki/TTY-PTY-support-in-Windows-OpenSSH
No
"OpenSSH for Windows" version
PS C:\Users\foobar> ((Get-Item (Get-Command sshd).Source).VersionInfo.FileVersion)
0.0.14.0
Server OperatingSystem
PS C:\Users\foobar> ((Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion\" -Name ProductName).ProductN
ame)
Windows 10 Pro
Client OperatingSystem
PS C:\Users\foobar> ((Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion\" -Name ProductName).ProductN
ame)
Windows 10 Pro
What is failing
Any attempt to log in just gives Permission denied, please try again
Expected output
This is what i get on my centos machine:
PS C:\Users\ltheisen> ssh foobar@192.168.1.4
foobar@192.168.1.4's password:
You are required to change your password immediately (root enforced)
Last login: Sat Jun 3 13:59:50 2017 from ljt530
WARNING: Your password has expired.
You must change your password now and login again!
Changing password for user foobar.
Changing password for foobar.
(current) UNIX password: Connection to 192.168.1.4 closed.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
Connection to 192.168.1.4 closed.
Actual output
PS C:\WINDOWS\system32> ssh foobar@localhost
foobar@localhost's password:
Permission denied, please try again.
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
The issue names no source files or tests. Start by reproducing the expired-password login on Windows 10 with OpenSSH 0.0.14.0, then review the linked TTY/PTY support wiki if terminal handling is involved; done means SSH permits the password-change flow instead of returning permission denied.
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
- Mostly clear
- Newbie friendliness
- 35/100