Limit passphrase entry prompt ; timeout

Advertisement

DarrenM2
Guest

Limit passphrase entry prompt ; timeout

I'm using WinSCP 4.1.8 from the command line for automation. When there is a prompt to enter the passphrase, I can continue to enter the wrong passphrase indefinitely it seems and WinSCP merely continues to prompt for the passphrase. This may have been addressed, but I couldn't find anything on it. Two suggestions.

1) Limit the number of attempts at entering the passphase, then return an error if it's exceeded. Default to 5, but provided an option to configure it.

2) Allow one to set an optional timeout value, so if the passphrase is not entered withing a certain amount of time, an error is generated. Default is no timeout.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum