Re: SSH timeout on password challenge.

2014-01-27 Thread David Rysdam
Ken D'Ambrosio k...@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

Re: SSH timeout on password challenge.

2014-01-27 Thread Chris Linstid
Oops, forgot to reply to all. - Chris On Jan 27, 2014 10:44 AM, Chris Linstid clins...@gmail.com wrote: If I'm understanding this correctly, it sounds like you just want the ssh command to fail if you're presented with a password challenge? If that's the case, then you can just add -o

Re: SSH timeout on password challenge.

2014-01-27 Thread ken
GAH. I googled for that to no avail. Should have just read the damn manpage. Thank you! Chris Linstid clins...@gmail.com wrote: Oops, forgot to reply to all. - Chris On Jan 27, 2014 10:44 AM, Chris Linstid clins...@gmail.com wrote: If I'm understanding this correctly, it sounds like you

SSH timeout on password challenge.

2014-01-27 Thread Ken D'Ambrosio
Hey, all. I'm scripting stuff to a zillion (ballpark) servers, and ones that are up, but haven't been fully deployed (i.e., don't yet have ssh keys) password challenge me. While there *is* an ssh timeout option, it's my understanding that that's for when a connection fails to establish, NOT