Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Limit passphrase entry prompt ; timeout

What this would be good for?
DarrenM2

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.