SSH timeout on password challenge.
David Rysdam
david at rysdam.org
Mon Jan 27 10:33:18 EST 2014
Ken D'Ambrosio <ken at jots.org> writes:
> establish, NOT for when a password challenge happens. My script is
> using the timeout command:
>
> timeout 5 ssh -n $host 'blahblahblah'
>
> Any bright ideas on how to do this gracefully?
How is this the first I've ever heard of 'timeout'? I would have
resorted to 'expect' by this time. That may still help you out here, but
maybe it's doing the same thing 'timeout' does and won't work any
better.
More information about the gnhlug-discuss
mailing list