Skip to content
Permalink
Browse files

Turn simple message box into a prompt when SSH tunnel asks for key pa…

…ssphrase. Closes #284.
  • Loading branch information
ansgarbecker committed Nov 30, 2019
1 parent 023f6a3 commit dd8bacfcc9f9d67fde1acb6e273690fcd7dce556
Showing with 1 addition and 1 deletion.
  1. +1 −1 source/dbconnection.pas
@@ -897,7 +897,7 @@ procedure TPlink.Connect;
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);

0 comments on commit dd8bacf

Please sign in to comment.
You can’t perform that action at this time.