Posh-SSH icon indicating copy to clipboard operation
Posh-SSH copied to clipboard

RSA Authentication enabled boxes don't work.

Open tsavercool opened this issue 7 years ago • 1 comments

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.

tsavercool avatar Feb 07 '19 19:02 tsavercool

Please test the alpha release to see if issue is resolved https://github.com/darkoperator/Posh-SSH/releases/tag/3.0.0-Alpha

This is a major release with breaking changes and it is cross platform for the latest version of powershell.

darkoperator avatar Feb 01 '21 10:02 darkoperator