Input prompt is cancelled after short time interval

Advertisement

Guest

Input prompt is cancelled after short time interval

"In batch mode, any choice prompt is automatically replied and any input prompt is cancelled (after short time interval)."
Is there any way to set the time interval that it takes before an input prompt is cancelled?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,506
Location:
Prague, Czechia

Re: Input prompt is cancelled after short time interval

No, it's fixed at 10 seconds.
But maybe there's other solution. What prompt are you having the problem with?

Reply with quote

Guest

Re: Input prompt is cancelled after short time interval

The password prompt does not provide much time to enter a lengthy password.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,506
Location:
Prague, Czechia

Re: Input prompt is cancelled after short time interval

Well, if your script is interactive, do not run it in non-interactive mode, at least during the authentication.

option batch off
open sftp://user@example.com/
option batch abort
...

Reply with quote

Advertisement

You can post new topics in this forum