darkoperator / darkoperator/Posh-SSH

RSA Authentication enabled boxes don't work.

Open
#253 1 comment 0 reactions 0 assignees View on GitHub

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

  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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.