darkoperator / darkoperator/Posh-SSH
RSA Authentication enabled boxes don't work.
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 1.1k
- Forks
- 222
- PR merge metrics
- No merged PRs in 30d
Description
I'd like to request you change line 244 of NewSessionBase.cs
from: if (prompt.Request.Contains("Password"))
to: if (prompt.Request.Contains("Password") || prompt.Request.Contains("PASSCODE"))
I'm sorry to say that I do not know what product is used to implement RSA token authentication on our machines but I think it may be BoKs.
It may even be wise to allow the user to override this with a parameter as custom logins are becoming more common place.
Contributor guide
No contributing guide indexed for this repository
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
Open NewSessionBase.cs at line 244 and inspect how authentication prompts are classified. Verify that prompts containing PASSCODE are handled alongside prompts containing Password, then confirm RSA token authentication works with the updated condition.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100