Turn simple message box into a prompt when SSH tunnel asks for key passphrase. Closes #284.

This commit is contained in:
Ansgar Becker
2019-11-30 18:05:36 +01:00
parent 023f6a342c
commit dd8bacfcc9

View File

@@ -897,7 +897,7 @@ begin
end;
if OutText <> '' then begin
if ExecRegExpr('login as\s*\:', OutText) then begin
if ExecRegExpr('(login as|Passphrase for key "[^"]+")\s*\:', OutText) then begin
// Prompt for username
UserInput := InputBox('PLink:', OutText, '');
SendText(UserInput + CRLF);